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 Build Task CalculateSceneDependencyData failed with exception

Discussion in 'Addressables' started by BelieveXiaoShuai, Feb 28, 2023.

?

Build Task CalculateSceneDependencyData failed with exception

  1. Addressables

    0 vote(s)
    0.0%
  2. Build error

    0 vote(s)
    0.0%
  1. BelieveXiaoShuai

    BelieveXiaoShuai

    Joined:
    Nov 6, 2017
    Posts:
    16
    Unity Version: 2021.3.16f1c1
    Addressables Version:1.19.19
    SBP Version: 1.20.1

    I use addressables build a scene with Default build script, error is ocurred next:
    upload_2023-2-28_18-55-18.png
    I debug Script Build Pipeline and find
    the array returned by ContentBuildInterface.CalculatePlayerDependenciesForScene has null type, i can't figure out what is it.
    upload_2023-2-28_18-52-34.png
    I delete all objects in scene and retry, same error too:
    upload_2023-2-28_18-57-16.png
     
  2. BelieveXiaoShuai

    BelieveXiaoShuai

    Joined:
    Nov 6, 2017
    Posts:
    16
    I upgrade Unity version to 2022.2.7 and Addressables version to 1.21.8, the error also has ocurred.
     
  3. pillakirsten

    pillakirsten

    Unity Technologies

    Joined:
    May 22, 2019
    Posts:
    346