Search Unity

Question Shader error in ...: Compilation failed (other error) 'out of memory during compilation'

Discussion in 'VR' started by SenhorCastor, Dec 28, 2022.

  1. SenhorCastor

    SenhorCastor

    Joined:
    Mar 23, 2021
    Posts:
    6
    Hi,

    Trying to build and run a project for Oculus Quest 2. It was building and running properly couple of weeks ago. I kept using the Play Mode with Oculus Link, and now that I try to build and run I get that error.

    Any help appreciated.
     

    Attached Files:

  2. SenhorCastor

    SenhorCastor

    Joined:
    Mar 23, 2021
    Posts:
    6
    Have a machine with 32 Gb, and checking it the memory usage, still have many gbs left.

    Is there a setting on the project I can increase the memory? I am really at odds
     
  3. Andre_Dev00

    Andre_Dev00

    Joined:
    May 22, 2015
    Posts:
    5
    Have you been able to fix it? I'm having the same exact issue but with the builtin URP shader
     
  4. SenhorCastor

    SenhorCastor

    Joined:
    Mar 23, 2021
    Posts:
    6
    It shows up from time to time.

    I restart Unity hub and it works again for some time
     
    nasos_333 likes this.
  5. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,360
    Same here, any news on this ?

    Also when i copy the object in an empty scene it compiles and shows it, only when other effects are active fails