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

RendersystemV2 running but seeing nothing in build, works in editor

Discussion in 'Graphics for ECS' started by Bas-Smit, Apr 9, 2019.

  1. Bas-Smit

    Bas-Smit

    Joined:
    Dec 23, 2012
    Posts:
    274
    Im using 2019.1.0b8 with up to date packages. In the editor everything is working fine, but when I make a windows standalone build nothing can be seen on screen except for gameobjects and the skybox. I added a log to RendersystemV2 which shows it runs and is processing something:

    Code (CSharp):
    1.  
    2. void UpdateDynamicRenderBatches()
    3. {
    4.    m_InstancedRenderMeshBatchGroup.RemoveTag(new FrozenRenderSceneTag());
    5.  
    6.    Profiler.BeginSample("CreateArchetypeChunkArray");
    7.    var chunks = m_DynamicGroup.CreateArchetypeChunkArray(Allocator.TempJob);
    8.    Profiler.EndSample();
    9.  
    10.    if (chunks.Length > 0)
    11.    {
    12.        Debug.Log("################# UPDATING RENDERSYSTEM: " + chunks.Length);
    13.        CacheMeshBatchRendererGroup(new FrozenRenderSceneTag(), chunks, chunks.Length);
    14.    }
    15.    chunks.Dispose();
    16. }
    17.  
    Then in the log I see: ################# UPDATING RENDERSYSTEM: 133 (In the editor chunks.Length is 70, not sure if that matters) There are no errors in the log. I do see this warning, but I think its benign:

    WARNING: Shader Unsupported: 'Standard' - Pass 'META' has no vertex shader

    I have a cube as a gameobject which shows up, both use the standard shader so it should be there. Is there a way to figure out what is going on here?

    Thanks, Bas
     
  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,683
  3. Bas-Smit

    Bas-Smit

    Joined:
    Dec 23, 2012
    Posts:
    274
    I don't use link.xml, seeing the log made me think it was not the problem. Should I be adding things to link.xml other than the rendering system?

    Thanks, Bas
     
  4. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    This should be fixed in latest 19.1 build. Link.xml is not required, please let us know if there is any issue remaining.