Hello!
First of all I wanted to thank you for the tutorial and to everyone who worked on HPSXRP for making it open-source.
After carefully following every step i got the following error:
MissingReferenceException: The object of type 'Texture2D' has been destroyed but you are still trying to access it.The Scene window is basically all gray and the error pops every few seconds. I'm running Unity 2019.4.12f1.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Texture.get_width () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Graphics/Texture.bindings.cs:38)
HauntedPSX.RenderPipelines.PSX.Runtime.PSXRenderPipeline.PushGlobalRasterizationParameters (UnityEngine.Camera camera, UnityEngine.Rendering.CommandBuffer cmd, System.Int32 rasterizationWidth, System.Int32 rasterizationHeight, System.Boolean hdrIsSupported) (at Library/PackageCache/com.hauntedpsx.render-pipelines.psx@1fe91ca2f5/Runtime/RenderPipeline/PSXRenderPipeline.cs:714)
HauntedPSX.RenderPipelines.PSX.Runtime.PSXRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at Library/PackageCache/com.hauntedpsx.render-pipelines.psx@1fe91ca2f5/Runtime/RenderPipeline/PSXRenderPipeline.cs:235)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipeline.cs:34)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:86)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)
Thanks in advance!