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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment