Search Unity

"Player export failed. Reason: 2 errors." with no actual errors in the log (WebGL)

Discussion in 'Unity Build Automation' started by GlickWick, Feb 20, 2017.

  1. GlickWick

    GlickWick

    Joined:
    Jan 16, 2014
    Posts:
    17
    Project is QuickRogue. Tends to alternate between giving me this error and a timeout error. Haven't been able to build WebGL in quite some time.
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Try to go through all log types (full, summary, etc). see if you find any additional info there.
     
  3. GlickWick

    GlickWick

    Joined:
    Jan 16, 2014
    Posts:
    17
    There are two warnings:

    188: [Unity] WARNING: Shader Unsupported: 'VR/SpatialMapping/Wireframe' - Pass '' has no vertex shader
    189: [Unity] WARNING: Shader Unsupported: 'VR/SpatialMapping/Wireframe' - Setting to default shader.
    190: [Unity] Player export failed. Reason: 2 errors


    I don't use anything related to these shaders, and every dev machine I have builds just fine. Not sure why warnings would be killing the build anyways.