Search Issue Tracker

Fixed in 5.4.0

Votes

116

Found in

5.1.3f1

Issue ID

722725

Regression

No

Materials lose reference to textures if loaded from Asset Bundles

--

-

How to reproduce:

1. Open attached project
2. Open scene Scenes/AtlasedSpriteParticleTest.unity
3. Go to Build/AssetBundle
4. Play the scene
- Note how the particles have no textures

Comments (34)

  1. DearTao

    Jun 15, 2016 08:03

    5.3.1f1 has this issue ,when I load level from asssetbundles ,this scene lose ligntmaps,woe need reapply shaders.

  2. HNiwayama

    Mar 11, 2016 05:40

    @TRAFULGOTH wrote:
    > The pink issue is because of the shaders. When you build asset bundles for a target platform, the shaders are built for that platform.
    > It was my understanding that this was supposed to be fixed in 5.3, but I just ran into this problem so I guess it's still there.

    I have same problem in 5.3.3p1, 5.4.0b9
    UnityEditor: Mac OSX
    Target: iOS

  3. dejaime.firasoft

    Feb 29, 2016 20:16

    Is there any workaround? (just slightly ignoring the "Severity: 2" up there)

  4. visionaryvr

    Feb 12, 2016 01:22

    Still happening in 5.3.2p1

  5. Trafulgoth

    Jan 06, 2016 21:06

    @DARCYRAYNER
    The pink issue is because of the shaders. When you build asset bundles for a target platform, the shaders are built for that platform. It was my understanding that this was supposed to be fixed in 5.3, but I just ran into this problem so I guess it's still there.

    To fix it, use asset bundles built for your development platform in the editor, instead of bundles built for your target platform. For instance, instead of using Android bundles in the editor, I use Window64 bundles. The pink issue should go away.

  6. yuewahchan

    Dec 31, 2015 15:19

    Please fix, it is annoying.

  7. darcyrayner

    Dec 26, 2015 10:29

    Potentially a separate issue, but in the Mac version of the editor, any material loaded from an asset bundle, *even if assigned a built-in shader*, will turn pink. I've tested this with Asset bundles built for iOS and Android in 5.2.2f1, 5.2,3f1 and 5.3.0f4 using Mac OS X 10.10.5. This issue makes working with Asset Bundles very difficult.

  8. Yarogleck

    Dec 09, 2015 10:50

    Same problem

  9. MikeHergaarden

    Dec 09, 2015 00:06

    Still around in 5.3RC4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.