Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.2.0a11
2021.2.0a16
Issue ID
1334656
Regression
Yes
[shadergraph] creating too many keywords crashes unity (previously threw exceptions)
In SRP2Core 2021.1.3f1.2299, graph will throw exceptions/softlock which will lose unsaved progress on that graph.
7.3.1: repeated enum pasting will cause Unity to hang and take up lots of memory/power but the threshold to cause this is much higher than what will cause later versions to crash. Unity will not throw exceptions either like in 2021.1.
In SRP2Core 2021.2.0a16.2250, 5 enum keywords are enough to cause Unity to crash.
Since the consequences are more severe in later versions, I have labeled this as a regression.
Repro steps:
1. Open a shadergraph
2. Keep creating enum keywords until Unity crashes
Expected result: Unity keeps you from creating too many keywords
Actual result: Unity crashes
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment