|
Post by Bradley S on Feb 7, 2016 21:13:25 GMT
I've been having a horrible time with clients using macs. I currently have a mac-specific problem loading in map data from a save file.
I am using non-DX11 mode (changed in both XML and .cs), I altered the ground textures based on a suggestion from another forum post, I reduced the texture size to 1024, and commented out the blurring methods. I changed just about anything that I knew could have an effect on the non-dx11 machines. Here's what happens:
The player starts a game which loads in a premade map I made in the 3rd part MapEditor.
The game stalls within the ReloadDefinitions() or the SaveManager.Load() method. Does anyone have any idea what is going on and why the problem only occurs on macs? I am assuming it has to do with mac not using dx11 and this software wasn't made for non-dx11 machines, but where do I even start given this information? I don't personally have a mac so I can't really test the problem.
I have been racking my brain but I thought I'd ask here to see if anyone could guide me on this. Thank you!
|
|
|
Post by khash on Feb 8, 2016 0:51:34 GMT
Hi!
I have Thea: The Awakenign "compatible" on Mac, and I have not turned off any extra features (just turned off dx11 mode). But I find out that many mac machines are very poor in resources so is it possible that your game simply uses more reosurces than they can offer? Do you have those logs so that we can see if there is anything more helpful?
Cheers!
|
|
|
Post by Bradley S on Feb 8, 2016 3:31:06 GMT
I will try to get the logs and reply back when I do. Thank you for the quick response.
|
|
|
Post by Bradley S on Feb 10, 2016 0:59:32 GMT
There is an error that on OSX where the ".hon" map file cannot be found. The file does exist on OSX but the standalone can't find it. The map file is in the StreamingAssets folder and works fine on windows. Do you have any idea why on OSX the file could not be found?
|
|
|
Post by Bradley S on Feb 10, 2016 4:14:14 GMT
Problem resolved. Moved map file from StreamingAssets to Resources. Honey works fine now!
|
|
|
Post by khash on Feb 10, 2016 11:02:31 GMT
you should have streaming assets on mac as well, maybe you are using wrong "\\"? did you tried path builder or you do that yourself? string path = System.IO.Path.Combine(Application.streamingAssetsPath, fileName); or call it multiple times to add diretories one by one and the reuse it for all files within the folder you need get access to
|
|
|
Post by Bradley S on Feb 10, 2016 18:44:06 GMT
I was using the referenced streamingAssetsPath but I didn't use the path builder, I just used a string like "streamingAssetsPath"+filename. It works find on Windows but for some reason won't work on mac.
|
|
|
Post by khash on Feb 10, 2016 22:53:01 GMT
I think it might be the case that "/" and "\" difference between them, so it works on one and does not on another. But I'm happy its now ok for you
|
|