Search Unity

Loading Asset Bundle from Editor vs Build yields different results

Discussion in 'Asset Bundles' started by fuzymarshmello, Nov 6, 2019.

  1. fuzymarshmello

    fuzymarshmello

    Joined:
    Feb 22, 2015
    Posts:
    17
    Hi, I'm having trouble loading an asset bundle from a build. The asset bundle contains a prefab with a model in it. When I load it in the editor everything seems fine, but when I do it in the build, it looks corrupted. See images below for comparison.

    loading from editor
    not_corrupted.jpg

    loading from build
    corrupted.jpg

    Has anyone experienced this issue?
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,736
    Are you loading exactly the same asset bundle? What platform were you using when building it?