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
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
Add comment