Search Unity

`GUI Layer` -or- `GUI Text` cause build to crash in 2019.3.0f6 (scene assetbundle)

Discussion in 'Editor & General Support' started by CloudyVR, Jan 29, 2020.

  1. CloudyVR

    CloudyVR

    Joined:
    Mar 26, 2017
    Posts:
    715
    I just changed editor versions for my game from 2019.2.4f1 to 2019.3.0f6.

    Now whenever I load a scene from an assetbundles the build game is crashing. But in the editor everything works fine.

    I found that it is related to any assetbundles containing these components:
    • GUI Layer (Deprecated)
    • GUI Text (Deprecated)
    If either of those components are included in any way (even if disabled) then it causes the build to crash after loading any other assetbundle.

    This was not the behavior of 2019.2.4f1 and has recently started to affect my project.

    I can not remove those components from all of my assetbundles (some were from previous projects) and I was hoping someone here could help me figure out how to prevent Unity from freaking out if one of those components is included in a assetbundle.

    Can I tell Unity to ignore those components? Or are there any options I can change when loading assetbundles?
     
    Last edited: Jan 30, 2020
    Astha666 likes this.