Search Issue Tracker
Fixed in 6000.1.0b7
Postponed in 2022.3.X
Fixed in 6000.1.X, 6000.2.X, 6000.2.0a4
Votes
0
Found in
2022.3.52f1
6000.0.26f1
6000.1.0a3
6000.2.0a1
Issue ID
UUM-86916
Regression
No
InvalidOperationException is thrown in Play Mode when Visual Studio debugger is attached and a ShaderGraph material is used in the Scene
How to reproduce:
1. Open the “IN-86938_repro“ project
2. Open the project in Visual Studio and in the upper tab select, “Attach to Unity“
3. In the Editor, double-click on the “New Shader Graph“ asset
4. In the Shader Graph window, change the Base Color and save
5. Open the “SampleScene“ and Enter Play Mode
5. Observe Visual Studio
Expected result: No errors are thrown
Actual result: InvalidOperationException is thrown
Reproducible with: 2021.2.2f1, 2022.3.52f1, 6000.0.26f1, 6000.1.0a3
Not reproducible with: 2021.3.45f1
Fixed in: 2021.2.3f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: macOS 14.6.1
Notes:
- Error: System.InvalidOperationException: PooledList must be disposed manually.
at UnityEditor.ShaderGraph.PooledList`1[T].Finalize () [0x00002] in .\Library\PackageCache\com.unity.shadergraph@14.0.11\Editor\Data\Util\PooledList.cs:44
- Tested with Visual Studio 2022
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (2022.3.X):
Postponing; will batch forward port in the future.