Search Unity

Loading 2018 asset bundle in a 2019 project

Discussion in 'Asset Bundles' started by luke_avm, May 16, 2019.

  1. luke_avm

    luke_avm

    Joined:
    Mar 26, 2019
    Posts:
    10
    Hi everyone,

    I am in the process of updating an Android/iOS app from 2018.2.2f1 to 2019.1.2f1. I have several asset bundles built in 2018.2.2f1 that don't show up correctly when loading the assets into the 2019 version of the app (Specifically, cookies on lights seem to be missing, custom built vertex shaders aren't rendering correctly).

    Just wondering if anyone know of an obvious reason why this might be happening?

    I rebuilt the asset bundles in 2019 and they show up fine, but for our application we would like to stick with the existing asset bundles if at all possible, due to legacy users.

    Thanks for your help!
     
  2. luke_avm

    luke_avm

    Joined:
    Mar 26, 2019
    Posts:
    10
    Inspecting the logcat I'm seeing a number of 'GLSL Link Errors'. For example:

    GLSL link error: Error: Uniform _WorldSpaceCameraPos precision mismatch with other stage.

    Looking into it now, but if anyone could shed any light on this it would be very much appreciated!
     
  3. luke_avm

    luke_avm

    Joined:
    Mar 26, 2019
    Posts:
    10
    Ah, it seems to be an issue with switching from OpenGL ES 2 to OpenGL ES 3. Some sort of mismatch in the shader languages?

    Removing support for OpenGLES 3 in the player settings fixed my issues.
     
    EirikWahl likes this.