Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0b9
Issue ID
946620
Regression
No
Selecting transition before script finishes compiling, one gets KeyNotFoundException
How to reproduce:
1. Open the attached project
2. Open MainScene
3. Open Animator window and select cat_idle2_0 from the scene
4. Open PlayerControl script
5. In line 48 and 54 anim.SetFloat ("speed", 0.1f); change animation parameter's value from float to double (enough to delete f) and save the script
6. Go back to the project and notice that you have compiler error, change parameter back to float and save the script
7. Quickly go back to project and select one of the transitions. If you manage to select transition before it started compiling script you will get two errors:
"KeyNotFoundException: The given key was not present in the dictionary."
in 2017.3 one gets "NullReferenceException: Object reference not set to an instance of an object"
Reproducible: 5.6.3f1, 2017.1.1f1, 2017.2.0b9, 2017.3.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "DateTime.Now" in the UK timezone does not adjust when the British Summer Time is active
- "Unsupported source texture format (7) in ComputeNextMipLevel" error is shown and the texture atlas is corrupted when the texture format "RGB Compressed ETC2 4bits" is selected
- The label that uses data binding is no longer updated at runtime when `INotifyBindablePropertyChanged` reloads updates of the VisualTreeAsset in UIDocument
- HDRP Graphics "High Quality Line Rendering" is missing a documentation link
- HDRP Graphics "Screen Space Global Illumination" has a link to a wrong documentation
Add comment