Hey, thanks for the reply. I was really hoping it was that, but unless I need better code to find the issue, it didn’t return anything either.
I’m using this code to find stuff:
foreach (var obj in Resources.FindObjectsOfTypeAll(typeof(RenderTexture)) as RenderTexture[])
{
Debug.Log("resource render texture: " + obj.name);
if (obj.graphicsFormat == GraphicsFormat.R32G32B32A32_SFloat ||
obj.format == RenderTextureFormat.ARGBFloat)
{
list.Add(obj);
}
}
It finds 3 render textures - ‘SceneView RT’, ‘GUIViewHDRRT’ and a blank one, but none of them have either of those texture formats.
This is the full error, if anyone is able to decipher it:
2022/08/06 11:10:55.130 861 887 Error Unity Texture creation failed. ‘R32G32B32A32_SFloat’ is not supported for Render usage on this platform. Use ‘SystemInfo.IsFormatSupported’ C# API to check format support.
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.Logger:Log(LogType, Object, Object)
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.Debug:LogError(Object, Object)
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.Texture:ValidateFormat(GraphicsFormat, FormatUsage)
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.RenderTexture:.ctor(Int32, Int32, Int32, GraphicsFormat, Int32)
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.RenderTexture:.ctor(Int32, Int32, Int32, GraphicsFormat)
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.Rendering.RTHandleSystem:Alloc(Int32, Int32, Int32, DepthBits, GraphicsFormat, FilterMode, TextureWrapMode, TextureDimension, Boolean, Boolean, Boolean, Boolean, Int32, Single, MSAASamples, Boolean, Boolean, RenderTextureMemoryless, VRTextureUsage, String)
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.Rendering.RTHandles:Alloc(RenderTextureDescriptor&, FilterMode, TextureWrapMode, Boolean, Int32, Single, String)
2022/08/06 11:10:55.130 861 887 Error Unity UnityEngine.Rendering.Universal.RenderingUtils:ReAllocateIfNeeded(RTHandle&, RenderTextureDescriptor&, FilterMode, TextureWrapMode, Boolean, Int32, Single, String)
2022/08/06 11:10:55.157 861 887 Error Unity NullReferenceException: Object reference not set to an instance of an object.
2022/08/06 11:10:55.157 861 887 Error Unity at 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) [0x00000] in <00000000000000000000000000000000>:0
2022/08/06 11:10:55.157 861 887 Error Unity at UnityEngine.Rendering.RTHandles.Alloc (UnityEngine.RenderTextureDescriptor& descriptor, UnityEngine.FilterMode filterMode, UnityEngine.TextureWrapMode wrapMod