Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question HDRP INSTANCE PLAYER PROBLEM SPAWNS

Discussion in 'High Definition Render Pipeline' started by Fran19365, Feb 1, 2023.

  1. Fran19365

    Fran19365

    Joined:
    Dec 15, 2022
    Posts:
    2
    Hello, I have been working in a scene for a 3D platform game, and I needed to create a shader for water to make effect of move, so I convert my scene to HDRP. All correct, it needs more time, but it works, except de Spawn system. When my player is killed, it has to spawn in the the last checkpoint, so I use in the code:

    if(life < 0)
    Instantiate(gameobject)

    What this makes, the character spawn in the checkpoint, but inmmediatly, the scene puts in gray, and the scene pauses, trying to load, but the GPU and the Memory is very high, then there´s an error because of this.

    I will appreciate your help
     
  2. mgeorgedeveloper

    mgeorgedeveloper

    Joined:
    Jul 10, 2012
    Posts:
    317
    It will be extremely difficult to help out on this without more specific info - screenshots, scene structure, etc. From the description, it seems that this is probably not an HDRP bug/issue. Is this a memory issue? Low system specs?