Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2021.3.X
Fixed in 2022.1.X
Votes
0
Found in
2019.4
2020.3
2021.3
2022.1
2022.2
Issue ID
1428874
Regression
No
Gradient mode getter/setter does not have thread-safe access preventing proper serialization/deserialization
Reproduction steps:
1. Open the attached "GradientsAndThreads" project
2. Open the "ReproScene" scene
3. Enter the Play mode
4. Observe the Console
Expected result: No error
Actual result: "UnityException: get_mode can only be called from the main thread." error
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a15
Reproduced on: Windows 11, macOS 12.0.1 (Intel)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a17
Resolution Note (fix version 2022.1):
Fixed in 2022.1.9f1