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

Graphics are trashed on built game

Discussion in 'Editor & General Support' started by hike1, Feb 11, 2016.

  1. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    Graphics are trashed on Unity 5.3 built game, built fine in 5.1

    Shader error in 'ProBuilder/StandardVertexColor_Spec': Too many output registers declared (12). When no output register has been declared with the semantic 'psize0', 11 o# registers are available. When an o# register has been declared with the semantic 'psize0' (same as 'psize'), 12 registers are available. at line 244 (on d3d9)

    Compiling Vertex program with SPOT SHADOWS_DEPTH SHADOWS_NATIVE LIGHTMAP_OFF DIRLIGHTMAP_OFF DYNAMICLIGHTMAP_OFF FOG_EXP2
    Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING

    Shader error in 'Enviro/BumpedDiffuseOverlaySM2': Too many math instructions for SM2.0 (66 needed, max is 64). Try #pragma target 3.0 at line 150 (on d3d9)

    Compiling Fragment program with SPOT FOG_EXP2
    Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING
     

    Attached Files:

  2. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    https://dl.dropboxusercontent.com/u/102638093/bogwood_feb_12_2016.zip
    170mb
    keys WASD spacebar jumps
    tkey
    Pkey
    Alt-f4 quits
    1-6 spell cast
    if you hit Okey options and put it on "Fantastic" it really gets bad.\
    Player gets texture from colliding with enemies and Npc's 8--}

    Also got this, but don't think it's the problem
    Trying to add (Layout Rebuilder for) ScrollView (UnityEngine.RectTransform) for layout rebuild while we are already inside a layout rebuild loop. This is not supported.
    UnityEditor.HostView:OnGUI()
     
    Last edited: Feb 12, 2016
  3. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    Trashed on 5.3.2 also, not trashed on 5.1.1
     
  4. dudester

    dudester

    Joined:
    Oct 25, 2014
    Posts:
    371
    Delete your library , reload your assembly , if it's still not working file a bug report .
     
  5. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    quote
    reload your assembly
    unquote
    what's that?
     
  6. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    Thanks, dudester, I found it, it works now (after 30 min of import-crash-30 min import-run). Maybe you can tell me what
    are 'sharedassets'?
     
  7. dudester

    dudester

    Joined:
    Oct 25, 2014
    Posts:
    371
    glad that worked , what exactly would you like to know about shared assets?
     
  8. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    What are they? I lost several weeks work because I got a 'parsing error', some bad
    thing got put in there.
     
  9. dudester

    dudester

    Joined:
    Oct 25, 2014
    Posts:
    371
    well shared assets are usually game files , they are built by unity engine , kind of like a zip file , basically a compressed file and encrypted , thats about all i know about them.