Search Unity

Project crash after startup, every time. (Access Violation)

Discussion in 'Editor & General Support' started by berndunity, Jan 17, 2019.

  1. berndunity

    berndunity

    Joined:
    Feb 14, 2018
    Posts:
    6
    When trying to start up my project from Unity hub with the newest version of unity, it crashes when everything seams loaded. When everything is loaded the project tries to bake a light map, it immediatly crashes. I have tried to create a new project with the same assets and everything worked fine, but when putting the projectsetting file in the new project too, it crashes.
    I have uploaded the editor and error log. I have found this in the editor log:
    [PathTracer] GBuffer: added: 1, removed: 0 jobs
    [PathTracer] Added a GBuffer with hash: 712dbf61a2580253c68938e4f0987984, width: 64, height: 64, supersampling multiplier: 2, took 0.00 secs (cached) -> Timestamps: [72.730 - 72.733]
    [PathTracer] Texel estimate: 0 -> actual: 0 -> -2147483648% off
    [PathTracer] Lightmap heavy data: added: 1, removed: 0 jobs
    [PathTracer] Initialized lightmap with hash: ae901beba7a3f14c53753eb3737da8d9, gbuffer: 712dbf61a2580253c68938e4f0987984, width: 64, height: 64
    [PathTracer] Issuing a culling job for lightmap ae901beba7a3f14c53753eb3737da8d9.
    [PathTracer] Issuing lightmap composite job for a not converged lightmap; index: 0, lightmapCompositeHash: f99f81f373d1f8833d4c4d5a23552c5c, lightmapHash: ae901beba7a3f14c53753eb3737da8d9, renderPassHash: 33525bc7ae78c9c7e9ea9ea33c594b68, compositingHash: ca43fe681ec063644424620b62d62d96.
    [PathTracer] Composited not yet converged lightmap; index: 0, lightmap composite hash: f99f81f373d1f8833d4c4d5a23552c5c, lightmap hash: ae901beba7a3f14c53753eb3737da8d9, render pass hash: 33525bc7ae78c9c7e9ea9ea33c594b68, took 0.002s -> Timestamps: [73.029 - 73.031].
    [PathTracer] Setting pending lightmap data, so that it's used for rendering; hash: 191f1018881616d91fcec25f3497bdec.
    [PathTracer] lightmap hash: ae901beba7a3f14c53753eb3737da8d9, instanceID: -17288.
    [PathTracer] Issuing a render job for lightmap ae901beba7a3f14c53753eb3737da8d9, visible texels: 0, Timestamps: [73.080].
    [PathTracer] Issuing a convergence job for lightmap ae901beba7a3f14c53753eb3737da8d9.
    Crash!!!
    Also this:
    Mesh doesn't have UVs. Please create some for GI.

    (Filename: C:\buildslave\unity\build\Editor/Src/GI/Progressive/Jobs/PVRJobConservativeRaster.cpp Line: 116)


    In the error log I found this:
    ntdll.dll caused an Access Violation (0xc0000005)
    in module ntdll.dll at 0033:93523691.
    And:
    Read from location 0000000000000118 caused an access violation.
    This may help find the crash.

    Things you may need to know:
    Using 2018.3.2f(newest version).
    *I used 2018.3.0f & 2018.3.1f*
    It worked in 2018.3.0f, but there is where the crash started.

    I'm using hdrp.
     

    Attached Files:

  2. trooper

    trooper

    Joined:
    Aug 21, 2009
    Posts:
    748
    I had this problem and the only way to get around it was to disable objects until it stopped crashing then let unity calculate the lightmap uv's for that object that makes it crash, no idea what is actually wrong with the uv2 on the meshes that I'm trying to lightmap but at least it got me past it.
     
  3. segant

    segant

    Joined:
    May 3, 2017
    Posts:
    196
    How could you set it? I can't even open editor.
     
  4. trooper

    trooper

    Joined:
    Aug 21, 2009
    Posts:
    748
    This error only occurred during a lightmap so perhaps if you can turn off automatic lightmapping in the scene file before opening it.

    Set m_GIWorkflowMode to 1
     

    Attached Files:

    misabiko likes this.
  5. segant

    segant

    Joined:
    May 3, 2017
    Posts:
    196
    Thanks i'll look into it. I haven't been developing for a month. Now i can't open my project.