Search Issue Tracker
Not Reproducible
Votes
3
Found in [Package]
10.4.0
Issue ID
1322650
Regression
Yes
Errors are spammed in the Console when a custom Terrain Shader doesn't have a _MainTex property
How to reproduce:
1. Open the user's attached "MicroSplat2020LTS_URP.zip" project
2. Open the "testblend" Scene
3. Select the "Terrain" GameObject in the Hierarchy window
4. Observe the Console log
Expected result: No errors are thrown
Actual result: "Material 'Hidden/InternalErrorShader' with Shader 'Hidden/Terrain_Base110911181' doesn't have a texture property '_MainTex'" error is getting spammed in the Console log
Reproducible with: 10.4.0 (2020.3.1f1), 11.0.0 (2021.1.0f1), 12.0.0 (2021.2.0a10)
Not reproducible with: 7.5.3 (2019.4.22f1)
Notes:
- Workaround is to add a _MainTex property in the Shader
- Couldn't find the exact point of regression as it was still reproducible with 10.1.0, but errors started appearing in 10.0.0-preview.26
- Was not able to reproduce the issue with the Built-in RP
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment