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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Add comment