Search Issue Tracker
Active
Votes
25
Found in
Issue ID
1281021
Regression
No
[Windows] Not possible to deduce the source of 'Shader properties can't be added to this global property sheet.' error
1) Clone https://github.cds.internal.unity3d.com/unity/stw-20-2-cannon-fodder-3-style-game. Update to https://github.cds.internal.unity3d.com/unity/stw-20-2-cannon-fodder-3-style-game/tree/bugs/1281021
2) Open the project with the Windows Editor from https://saihai.hq.unity3d.com/build/1275 or build using rev e2067236bd5c (2020.2/staging).
Observe the endless spam of errors
Shader properties can't be added to this global property sheet. Trying to add _GrabTexture (type 3 count 1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
The user can't click the error and get taken to the offending shader, it will just open up the
Expected behavior: the user is taken to the shader / script where the offending property is set.
Comments (2)
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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Qilbby
Jun 19, 2022 16:48
@Radivarig, Thanks, this worked for me. I was deactivating one by one until I found the problem. It was in the shader of a portal that was not adapted for URP.
Radivarig
Dec 14, 2021 12:18
You can deduce the source like this:
- have the scene/game tab open and ensure that the error keeps being thrown when clicking in anywhere in the hierarchy
- don't rotate/move the camera or the object with the shader will be out of viewport and not render
- disable all gameobjects
- optionally clear the console
- start enabling gameobjects, when the error appears it will be on the last enabled gameobject which is the parent of where the shader is attached.