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
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Add comment