Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yoiang opened this issue Dec 31, 2016 · 3 comments
Open

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

yoiang opened this issue Dec 31, 2016 · 3 comments

Comments

@yoiang
Copy link

yoiang commented Dec 31, 2016

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
Copy link
Owner

RosaryMala commented Jan 1, 2017 via email

@yoiang
Copy link
Author

yoiang commented Jan 1, 2017

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants