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

Possible PPS Error / Memory Leak - "Resource ID out of range in GetResource"

Discussion in 'Cinemachine' started by josterday, Jun 16, 2019.

  1. josterday

    josterday

    Joined:
    Jan 22, 2018
    Posts:
    51
    Receiving this error after running a large, texture heavy scene for an hour or two:

    Resource ID out of range in GetResource: 1051229 (max is 1048575)

    Turning off all PPS components will get it to stop counting up.

    My guess is that there's a memory leak related to PPS (perhaps Screen Space Reflections?) and after some time it will eventually hit this Resource max.

    I've seen script adjustments for PPSv1 to potentially fix this, but haven't see them for specifically PPSv2.

    Any suggestions?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,658