Search Issue Tracker
Fixed in 6.5.0
Votes
0
Found in [Package]
5.3.1
Issue ID
1131755
Regression
No
[ShaderGraph] Drag-dropping normal map texture into a shader graph causes errors
Drag-dropping the attached texture into a shader graph causes the following error and does not create a SampleTexture2D Node:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ShaderGraph.AbstractMaterialNode.ValidateNode ()
To Reproduce, create a new Shader Graph Shader and drag drop the attached shader into the Shader Graph Editor Window. Note I have also attached the .meta file in order to provide detail on how the texture was imported.
I believe it may have something to do with the fact it is imported as a normal map as drag-dropping it when set to Default works fine.
Repro'd on DX11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- INVALID_ENUM warning is thrown in WebGL Player when building an empty scene
- Crash on ApiGLES::ClearBufferSubData when running the Player a second time on Meta Quest 2
- "Process VFXCamera Command" column is displayed in the "Render Graph Viewer" when there are no VFX in the Scene
- [Performance] Vulkan performing much worse than OpenGLES due to excessive buffer copies on Quest 2/3
- An error 'AssertionException: Assertion failure. Value was False' is displayed in the Console when maximizing or unmaximizing the UI Builder
Add comment