Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b6
Issue ID
770140
Regression
Yes
[Animator][Regression] GetLocalizedString error is displayed after double-clicking animator state
Steps to reproduce:
1. Open Unity;
2. Create new project;
3. Import attached 'animatorTest.unitypackage' package;
4. In the Project go to Assets -> Slenderman;
5. Open SlenderController.controller;
6. In the animator window double click on any grey state (Pose, Walk etc);
7. Observe console.
Actual result:
"GetLocalizedString is not allowed to be called from a MonoBehaviour constructor, call it in Awake or Start instead. Called from script 'AvatarMaskInspector' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.AvatarMaskInspector:.cctor()"
is shown when selecting animator state. See attached video and actual.png screenshot.
Regression introduced in Unity 5.4.0.
Expected result:
Errors should not be shown after picking animator state.
Notes:
- Reproducible in: 5.4.0b6, 5.4.0b5;
- Reproducible in OSX 10.11.3 and Windows 10;
- Not reproducible in: 5.3.2f1, 5.3.1f1;
- Error is shown when double clicking on animator state only for the first time, further clicking doesn't throw that error;
- Error is also shown when entering play mode after picking animator state.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment