Search Issue Tracker
Fixed
Fixed in 2022.1.22f1
Votes
8
Found in
2022.1.11f1
Issue ID
UUM-15441
Regression
Yes
“[Worker0] Texture creation failed” and “[Worker0] NullReferenceException” errors appear when creating URP Lit Shader Graph if "Opaque Texture" is enabled
How to reproduce:
1. Create a new 3D URP project
2. Enable “Opaque Texture” setting in URP Assets (Assets > Settings)
3. Reopen the project
4. In the Project window create a new URP Lit Shader Graph
5. Observe the Console window
Expected result: No errors
Actual result: “[Worker0] Texture creation failed” and “[Worker0] NullReferenceException” errors appear
Reproducible with: 13.1.1 (2022.1.0a16), 13.1.8 (2022.1.11f1), 14.0.3 (2022.2.0b3)
Not reproducible with: 10.9.0 (2020.3.37f1), 12.1.7 (2021.3.7f1), 13.1.0 (2022.1.0a15), 14.0.10 (2022.2b10) 15.0.0 (2023.1.0a4)
Reproduced on: macOS 12.4 (Intel)
Note: Also reproducible if modifying the URP Lit Shader Graph and saving it
Errors:
{noformat}
[Worker0] Texture creation failed. 'None' is not supported for Render usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.{noformat}
{noformat}
[Worker0] Texture creation failed. 'None' is not supported for Render usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
[Worker0] NullReferenceException
UnityEngine.Rendering.RTHandleSystem.Alloc (System.Int32 width, System.Int32 height, System.Int32 slices, UnityEngine.Rendering.DepthBits depthBufferBits, UnityEngine.Experimental.Rendering.GraphicsFormat colorFormat, UnityEngine.FilterMode filterMode, UnityEngine.TextureWrapMode wrapMode, UnityEngine.Rendering.TextureDimension dimension, System.Boolean enableRandomWrite, System.Boolean useMipMap, System.Boolean autoGenerateMips, System.Boolean isShadowMap, System.Int32 anisoLevel, System.Single mipMapBias, UnityEngine.Rendering.MSAASamples msaaSamples, System.Boolean bindTextureMS, System.Boolean useDynamicScale, UnityEngine.RenderTextureMemoryless memoryless, UnityEngine.VRTextureUsage vrUsage, System.String name) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.8/Runtime/Textures/RTHandleSystem.cs:490)
UnityEngine.Rendering.RTHandles.Alloc (UnityEngine.RenderTextureDescriptor& descriptor, UnityEngine.FilterMode filterMode, UnityEngine.TextureWrapMode wrapMode, System.Boolean isShadowMap, System.Int32 anisoLevel, System.Single mipMapBias, System.String name) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.8/Runtime/Textures/RTHandles.cs:117)
UnityEngine.Rendering.Universal.RenderingUtils.ReAllocateIfNeeded (UnityEngine.Rendering.RTHandle& handle, UnityEngine.RenderTextureDescriptor& descriptor, UnityEngine.FilterMode filterMode, UnityEngine.TextureWrapMode wrapMode, System.Boolean isShadowMap, System.Int32 anisoLevel, System.Single mipMapBias, System.String name) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/RenderingUtils.cs:570)
UnityEngine.Rendering.Universal.Internal.RenderTargetBufferSystem.ReAllocate (UnityEngine.Rendering.CommandBuffer cmd) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/RenderTargetBufferSystem.cs:82)
UnityEngine.Rendering.Universal.Internal.RenderTargetBufferSystem.GetFrontBuffer (UnityEngine.Rendering.CommandBuffer cmd) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/RenderTargetBufferSystem.cs:59)
UnityEngine.Rendering.Universal.UniversalRenderer.GetCameraColorFrontBuffer (UnityEngine.Rendering.CommandBuffer cmd) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/UniversalRenderer.cs:1256)
UnityEngine.Rendering.Universal.Internal.CopyColorPass.Execute (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/Passes/CopyColorPass.cs:124)
UnityEngine.Rendering.Universal.ScriptableRenderer.ExecuteRenderPass (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.ScriptableRenderPass renderPass, UnityEngine.Rendering.Universal.RenderingData& renderingData) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/ScriptableRenderer.cs:1099)
UnityEngine.Rendering.Universal.ScriptableRenderer.ExecuteBlock (System.Int32 blockIndex, UnityEngine.Rendering.Universal.ScriptableRenderer+RenderBlocks& renderBlocks, UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData, System.Boolean submit) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/ScriptableRenderer.cs:1058)
UnityEngine.Rendering.Universal.ScriptableRenderer.Execute (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/ScriptableRenderer.cs:843)
UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.CameraData cameraData, System.Boolean anyPostProcessingEnabled) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/UniversalRenderPipeline.cs:432)
UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera camera) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/UniversalRenderPipeline.cs:338)
UnityEngine.Rendering.Universal.UniversalRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1\[T] cameras) (at Library/PackageCache/com.unity.render-pipelines.universal@13.1.8/Runtime/UniversalRenderPipeline.cs:293)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, System.Collections.Generic.List`1\[T] cameras) (at /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipeline.cs:51)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1\[T] renderRequests, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:115)
UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset(Object, Object\[], String) (at /Users/bokken/buildslave/unity/build/Editor/Mono/AssetPreviewUpdater.cs:9)
{noformat}
Comments (1)
-
Bartek00
Sep 15, 2022 12:28
We see the bug regularly reported by our players but couldn't really narrow down what's causing it.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.1.22f1):
Fixed in: 13.1.8 (2022.1.22f1)