-
Notifications
You must be signed in to change notification settings - Fork 108
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
Sometimes calling UnityEngine.Application.dataPath
during serialization
#362
Comments
Making PathToComplied a lazy property doesn't fix it, though it does move the problem around a little. With it a property, the stacktraces (several exceptions are thrown) are:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's hard to pin down exactly when this happens, but sometimes for some scenes containing ArcadiaBehaviour, entering play mode throws
Also sometimes this seems to prevent Arcadia starting at all.
This is a new issue, something about the new relative path stuff seems to have activated it.
The problematic line in
Initialization.cs
isWe probably shouldn't be using a method that is sometimes unavailable in our Initialization logic.
One (not very satisfactory) work-around may be to make
PathToCompiled
a lazily-loaded static property, sodataPath
isn't accessed automatically. It still means any code that tries to look upPathToCompiled
could trigger this error if it runs during serialization.The text was updated successfully, but these errors were encountered: