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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment