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

Bug Build hangs with ScriptableBuildPipeline (CompatibilityBuildPipeline)

Discussion in 'Asset Bundles' started by liortal, Apr 5, 2021.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    I am trying to migrate to SBP (using latest package version - v1.17.0).

    As the migration guide suggested, i started by modifying all calls to BuildPipeline.BuildAssetBundles into CompatibilityBuildPipeline.BuildAssetBundles

    When building a scene into an asset bundle, the editor hangs. This happens every time.
    The editor doesn't hang when building a prefab.

    I suspect this is related to some other code that reacts to scene processing during the build, that causes some sort of deadlock.

    Did anyone experience such an issue while working with SBP?

    I am using Unity 2019.4.16, SBP v1.17.0.
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562