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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Add comment