Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0f3
Issue ID
1024606
Regression
No
Animator component isn't created and no exception is thrown when creating an animation for GameObject with certain invalid names
How to reproduce:
1. Open any project
2. Create a new Cube GameObject and rename it to "Cu/be"
3. Open the Animation view and select the "Cu/be" GameObject
4. Press "Create" in the Animation view and save it
Expected results: An exception should be thrown letting the user know about invalid characters in the name of the animation
Actual results: Animator component and Animator Controller aren't created and no exception is thrown
Reproducible with: 5.6.5p4, 2017.1.3p3, 2017.2.2p3, 2017.4.1f1, 2018.1.0f1, 2018.2.0a9
The following names also cause the issue:
(the name only contains spaces)
.xxxx(begins with a period)
xx/xx(contains forward slash anywhere but the beginning of the name)
xx\xx(contains forward slash anywhere but the beginning of the name)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note:
This is an edge case, which will also cause a bunch of problems across different Unity APIs which use transform paths to resolve objects. Fixing it is not worth slowing down the Animation Window to protect against this edge case