Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Empty scene in example Build

Discussion in 'DOTS Animation' started by Balphagore, Jun 3, 2021.

  1. Balphagore

    Balphagore

    Joined:
    Jul 18, 2019
    Posts:
    81
    How to build a scene from a project with examples correctly? If you try to build them right as they are in the project, an empty scene with no model or animations is played. But everything plays fine in the editor.
     
  2. StickyKevin

    StickyKevin

    Joined:
    Jul 1, 2020
    Posts:
    22
    First of all, make sure that your scene is included in the Build Settings.
    After a quick look, I noticed that the UnityAnimationHDRPExamples has none added.
    If the problem persists, work down the problem in steps and start with simple spawn tests.
     
  3. thelebaron

    thelebaron

    Joined:
    Jun 2, 2013
    Posts:
    825
    You need to use both the new build pipeline(look for a *.buildconfiguration file) and make sure any animations were placed inside a subscene as runtime conversion for animation is not supported. Any build using the old build settings that includes subscenes will result in subscenes not being included.
     
    StickyKevin likes this.