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

Scripting

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.