Search Issue Tracker
Fixed
Fixed in 2022.3.29f1, 6000.0.0b16
Votes
2
Found in
2022.3.8f1
2023.1.9f1
2023.2.15f1
6000.0.0b15
Issue ID
UUM-46742
Regression
Yes
[AsyncLoadInEditor] Universal RP shader graphs throw "malformed cached image" errors when reimporting all assets
Reproduction steps:
1. Open the “MalformedCachedImageStripped“ project
2. Assets > Reimport All, and observe the Console
Expected result: No errors
Actual result: 64 errors
Reproduced in: 2022.3.8f1, 2023.1.9f1, 2023.2.0a17
Not reproduced in: 2021.3.29f1, 2023.2.0a18, 2023.2.0b6, 2023.3.0a2
Reproduced on: macOS 13.4.1 (Intel), Windows 10 (by reporter)
Not reproduced on: No other environment tested
There are 16 .shadergraph assets under Universal RP that produce 4 errors each, for example:
1. Texture of width 64 and height 64 is not accessible.
2. AssetImporter::SetThumbnail for path 'Packages/com.unity.render-pipelines.universal/Runtime/Materials/ArnoldStandardSurface/ArnoldStandardSurfaceTransparent.shadergraph' (instanceID -2162) got malformed image (w=0 h=0 format=0)
3. AssetImporter::GetThumbnailForInstanceID for instanceID -2162 has malformed cached image (w=0 h=0 format=0)
4. Assertion failed on expression: 'i->second.GetFormat() != kFormatNone'
Notes:
1. Also reproduced when updating the project instead of Reimport All
2. Also the reporter reproduced when switching between Intel-32 and Intel-64 in Build Settings and when toggling Lightmap Streaming
3. Not reproduced in a new project
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment