Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

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.
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)
The Scene window is basically all gray and the error pops every few seconds. I'm running Unity 2019.4.12f1.

Thanks in advance!

I'm not a technician myself but maybe I can still help.

In general, a good entry point for getting help would be the Haunted PS1 discord. There's a dedicated #hpsxrp channel with a valuable history of problem-solving. I did a quick search. It seems that some people have run into this exact issue.

One person was able to resolve this by checking whether git LFS is installed and installing it if this wasn't the case. 

If that doesn't do the trick, check out the discord. The peeps there will gladly help where they can, I'm sure.

(-1)

Will ask in their discord, thank you so much!

(+1)

Hey Man, did you get a reply on this question? Cause I'm experiencing also an error that why I'm asking. :) Cheers!

Failed to resolve packages: The file [B:\UNITY\PROJECTS\TEST\UNITY 2019 PSX TEST\Packages\manifest.json] is not valid JSON:

  Unexpected string in JSON at position 1721 while parsing '{

    "dependencies": {

      "com.unity.col'. No packages loaded.

A re-import of the project may be required to fix the issue or a manual modification of B:/UNITY/PROJECTS/TEST/UNITY 2019 PSX TEST/Packages/manifest.json file.