RosaryMala / armok-vision

A 3d realtime visualizer for Dwarf Fortress
MIT License
320 stars 27 forks source link

No structures rendered (floors, walls, etc) - OSX Sierra #37

Open yoiang opened 7 years ago

yoiang commented 7 years ago

Hello! I'm new to using Armok Vision so I may be doing something wrong but:

When I load up my game I have a giant gaping hole where everything should be! I see my dwarves and other bits floating in it but otherwise it is empty.

Thanks so much for your time!

item-0_and_item-0_and_item-0_and_item-0_and_item-0_and_item-0_and_appletimemachineextra_and_applebluetoothextra_and_airportextra_and_displaysextra_and_batteryextra_and_appletextinputextra
RosaryMala commented 7 years ago

Does the outputlog.txt say anything?

You'll have to find out where it goes on OSX

On 01-Jan-2017 2:32 AM, "Ian G" notifications@github.com wrote:

Hello! I'm new to using Armok Vision so I may be doing something wrong but:

When I load up my game I have a giant gaping hole where everything should be! I see my dwarves and other bits floating in it but otherwise it is empty.

Thanks so much for your time! [image: item-0_and_item-0_and_item-0_and_item-0_and_item-0_and_item-0_and_appletimemachineextra_and_applebluetoothextra_and_airportextra_and_displaysextra_and_batteryextra_and_appletextinputextra] https://cloud.githubusercontent.com/assets/89718/21579238/8ae4b308-cf72-11e6-83f6-f50ba77ad0c8.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JapaMala/armok-vision/issues/37, or mute the thread https://github.com/notifications/unsubscribe-auth/AARm3XrMBjQeBfRZpdIGCPxCnETDDU4xks5rNsMAgaJpZM4LYnoT .

yoiang commented 7 years ago

For future reference on OSX it is player.log and it is found at ~/Library/Logs/Unity

I had a few occurances of this happen with various OBJ files:

UnauthorizedAccessException: Access to the path "/private/var/folders/42/wb19bbt50bn_vt2g66pw2zdh0000gn/T/AppTranslocation/0E01887A-30E8-4783-AAF5-5E2937BCAA5A/d/Armok Vision.app/Contents/Resources/Data/StreamingAssets/TileMeshes/FLOOR.obj" is denied.
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode)
  at MeshContent.AddTypeElement (System.Xml.Linq.XElement elemtype) [0x00000] in <filename unknown>:0 
  at TileConfiguration`1[MeshContent].ParseContentElement (System.Xml.Linq.XElement elemtype, System.Object externalStorage, System.Object secondaryDictionary) [0x00000] in <filename unknown>:0 
  at TileConfiguration`1[MeshContent].AddSingleContentConfig (System.Xml.Linq.XElement elemRoot, System.Object externalStorage, System.Object secondaryDictionary) [0x00000] in <filename unknown>:0 
  at ContentLoader+<ParseContentXMLFile>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0 
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
<ParseContentIndexFile>c__Iterator1:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename:  Line: -1)

For context, apparently when one runs an unsigned app from outside of the Applications folder Sierra's Gatekeeper actually runs it from a randomized location within /private/var/folders/ as a security measure.

Moving the app into the Applications folder resolves this behavior but I'm unclear as to why it was happening and only to specific files, files I verified were at the requested location. OSX APP files should be comfortably run from any location.

alexchandel commented 7 years ago

This happens to me as well. Could it be a bug in an old Unity version?

Moreover, switching to FPS view when this is happening causes me to fall through the world, even from a high elevation, even though I should contact the surface at some point.