Search Issue Tracker
Fixed in 2019.2.X
Votes
0
Found in
2017.4.3f1
Issue ID
1077857
Regression
No
"FilePathAttribute" class calls an API method "get_unityPreferencesFolder" from its constructor, resulting in an exception error
Reproduction steps:
1. Open "New Unity Project.zip" project
2. "Bug Report" -> "Reproduce"
Expected Result: No exception errors should be outputted because attributes should not use protected API methods in their constructors
Actual Result: An exception is thrown "get_unityPreferencesFolder can only be called from the main thread." because attributes use protected API methods in their constructors
Fixed in: 2019.2.0a2
Reproduced with: 2019.1.0a1, 2018.3.0b2, 2018.2.9f1, 2018.1.9f1, 2017.4.11f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Memory leaks ~100mb with each HTTP request until Player crashes on IL2CPP ARMv7 builds
- Item selection is offset below when UIToolkit ListView is set to dynamic height mode
- Script recompilation doesn't trigger automatically when switching build targets
- Text gets pushed to the left when typing in a text field
- "The provided object cannot be assigned a managed reference ID because it cannot be serialized on a [SerializeReference] field." thrown in the Console window when using SerializationUtility.SetManagedReferenceIdForObject with an Enum value
Add comment