Search Unity

Lightmapping - constant crashes

Discussion in 'Editor & General Support' started by rastlin, Mar 11, 2019.

  1. rastlin

    rastlin

    Joined:
    Jun 5, 2017
    Posts:
    127
    Just updated to Unity 2018.3.8f.

    Summary:
    * One of my scene wont load, Unity crashes all the time
    * Lightmapping is NOT POSSIBLE at all. Unity crashes all the time, and it does not matter what backed I choose!

    Example crash editor log attached.

    Anyone has an idea what area should I look into? This happens on two PC's. From release to release Unity seems to be less stable for me, while it should be the opposite...

    PS. Already tried deleting metadata.
     

    Attached Files:

  2. rastlin

    rastlin

    Joined:
    Jun 5, 2017
    Posts:
    127
    Tried today and another set of errors:

    Code (csharp):
    1.  
    2. (Filename: C:\buildslave\unity\build\Editor/Src/GI/Progressive/PVRContextManager.cpp Line: 88)
    3.  
    4. Progressive Lightmapper: Initializing lightmap data failed - out of memory.
    5. (Filename: C:\buildslave\unity\build\Editor/Src/GI/EditorHelpers.cpp Line: 53)
    6.  
    7. [PathTracer] Failed to initialize lightmap with hash: 94911adab5031a494a2f99481400e5f2, gbuffer: 6f9bfd50565ab06862ec37c7e4a583e5, width: 256, height: 256
    8. [PathTracer] InitializeLightmapData job with hash: d09234bc13128ad59573890066f58cd1 failed with exit code 2.
    9. (Filename: C:\buildslave\unity\build\Editor/Src/GI/Progressive/IPVRJob.cpp Line: 7)
    10.  
    11. [PathTracer] Failed to initialize lightmap with hash: 0340277fae5ee8b46b8af83d08fcf84a, gbuffer: da3353a86e94ee4213bfe9c59694c7b2, width: 256, height: 256
    12. [PathTracer] InitializeLightmapData job with hash: dc7ab02e8f5eb4e705ef1afbb3c7dc61 failed with exit code 2.
    13. (Filename: C:\buildslave\unity\build\Editor/Src/GI/Progressive/IPVRJob.cpp Line: 7)
    14.  
    15. [PathTracer] Lightmap heavy data: added: 2, removed: 0 jobs
    16. OpenRL reported error code 508: OpenRL error occured: RL_INTERNAL_ERROR: A fatal error has occured.  (Error is non-recoverable, OpenRL context must be shutdown)
    17.  
    18. (Filename: C:\buildslave\unity\build\Editor/Src/GI/Progressive/PVRContextManager.cpp Line: 88)
    19.  
    20. OpenRL reported error code 508: OpenRL error occured: RL_INTERNAL_ERROR: A fatal error has occured.  (Error is non-recoverable, OpenRL context must be shutdown)
    21.  
    22. (Filename: C:\buildslave\unity\build\Editor/Src/GI/Progressive/PVRContextManager.cpp Line: 88)
    23.  
    24.  
    What does it even means? I don't think it's hard to handle failure situation in meaningful way. Unity needs to be more verbose about what's failing to allow us to recover.

    My project is still stuck and I'm not able to interact with lighmapping functionality at all :(...

    PS. Sitting at 16GB memory, with 5GB free. Should be enough to generate 256x256 map.
     
  3. DeathRace26

    DeathRace26

    Joined:
    May 26, 2019
    Posts:
    75
    I have similar problems with terrains... Im desperate. Im freezed at 16~ FPS without being able to generate lightmaps.
    Im really surprised this issue still got no responses....

    EDIT: What is even more interesting that i have completely same version as you do... This sucks :(
     
  4. LordScottWarren

    LordScottWarren

    Joined:
    Feb 25, 2016
    Posts:
    9
    Have we had any reply from a Unity person here, this is definitely a bug and need raising!

    OpenRL reported error code 508: OpenRL error occured: RL_INTERNAL_ERROR: A fatal error has occured. (Error is non-recoverable, OpenRL context must be shutdown)
     
  5. Syn0_

    Syn0_

    Joined:
    Apr 1, 2018
    Posts:
    8
    Hi,
    Same problem here, a lots of problem that prevent me to build Android apk and invoke a blue screen of death.
    If anyone has a solution, reply please :)