Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.2.1p4
Issue ID
738177
Regression
No
[SpeedTree] GetLocalizedString error messages when loading scene with trees
Steps to reprouce:
1. Download and import attached project. (LoadScene.zip)
2. Open scene: main.
3. Play.
4. Press UI Button.
5. Inspect console error messages
GetLocalizedString is not allowed to be called during serialization, call it from Awake or Start instead. Called from script 'TreeData' on game object 'Tree Data'.
See "Script Serialization" page in the Unity Manual for further details.
UnityException: GetLocalizedString is not allowed to be called during serialization, call it from Awake or Start instead. Called from script 'TreeData' on game object 'Tree Data'.
See "Script Serialization" page in the Unity Manual for further details.
TreeEditor.TreeGroupRoot..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for TreeEditor.TreeGroupRoot
Notes: Error appears with both Application.LoadLevel and SceneManager.LoadScene. Also reproduces when scene is loaded by NetworkManager.
Reproduced on: 5.4.0b3, 5.3.2p1, 5.2.4f1, 5.1.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Add comment