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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment