Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.3.3p2
Issue ID
775565
Regression
Yes
[Shuriken] Null reference exception at UnityEditor.CurveSelection.get_curve () when modifying particle curve
Modifying two particle curves sometimes leads to an null reference exception, forcing the user to restart the editor.
Repro steps: (best observed in the attached gif, as the process is a bit convoluted)
1. Enable both Size over lifetime (green) and size by speed (red) curves.
2. In the curve editor, move the leftmost key of the green curve down a bit.
3. Select the red curve and press the minus key to hide it.
4. Reselect the red curve.
5. Select the green curve and press the minus key to hide it.
6. Add a key at the very start of the red curve (where the cursor is almost over the size field and changes to a text cursor.
7. Reselect the green curve so both curves are visible.
8. Drag the green curve's leftmost key up to overlap with the red curve's new key.
9. Null reference exception.
Expected outcome: curve manipulation to now throw a null reference exception.
Notes:
- appears to be a regression; could not repro in Version 5.3.3f1 (910d71450a97)
- I stumbled upon this by adding lots of key frames and playing with the plus and minus signs in the curve inspector. Other combinations might be possible to cause the same issue.
- Editor log attached.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
- Visual Effects Graph Blackboard can't be scrolled horizontally
Add comment