Search Unity

[Question] About Class ID 1108 and 2089858483.

Discussion in 'Addressables' started by Redbeanmouse, Nov 25, 2019.

  1. Redbeanmouse

    Redbeanmouse

    Joined:
    Nov 2, 2016
    Posts:
    7
    Hello Everyone.

    I am facing a issue that I have a error as below in android studio.

    2019-11-25 11:36:25.898 7937-8157/com.example.smfu:Unity E/Unity: Could not produce class with ID 1108.
    This could be caused by a class being stripped from the build even though it is needed. Try disabling 'Strip Engine Code' in Player Settings.
    (Filename: Line: 1545)
    2019-11-25 11:36:25.913 7937-8157/com.example.smfu:Unity E/Unity: Could not produce class with ID 2089858483.
    This could be caused by a class being stripped from the build even though it is needed. Try disabling 'Strip Engine Code' in Player Settings.


    before asking my question, I would like to introduce my environment.
    1. unity - 2019.3.10
    2. android studio - 3.4.2
    3. addressable - 1.3.3
    4. I exported my project as library that Android studio uses, and when I run my project from android studio, there are bunch of 1108 error comes out.

    there are few answers for the id 1108, they answered that this error message may comes from animation preview clip, so I have to look at my assets carefully, such as empty animation clips or duplicated animation clip names. however i would like to know more specific rules for it. such as I can delete the animation preview clip in which folder, or I can add some namespaces in link.xml

    also that 2089858482 number, I can't see in the YAML Class ID pages, it comes after I added my custom subshader graphs.

    also is there any update for this issue?

    thank you.
    Best.
     
  2. sophiepeithos

    sophiepeithos

    Joined:
    Sep 10, 2014
    Posts:
    59
    if your fbx does not have an animation do not check import animations in the inspector, this solves my problem
     
    Redbeanmouse likes this.
  3. Redbeanmouse

    Redbeanmouse

    Joined:
    Nov 2, 2016
    Posts:
    7
    Thank you for your advise. however, does not solve my issue
    but thanks a lot.
     
  4. sophiepeithos

    sophiepeithos

    Joined:
    Sep 10, 2014
    Posts:
    59
    yes, i find it also need unityversion, in my cast i tested 3.0b9 is ok
    also need addressables 1.1.9, above it is not ok, 1.2.4 is not ok
     
  5. Redbeanmouse

    Redbeanmouse

    Joined:
    Nov 2, 2016
    Posts:
    7
    OK, more lovely news you gave me

    i should try it now thank you for your advise
     
  6. Redbeanmouse

    Redbeanmouse

    Joined:
    Nov 2, 2016
    Posts:
    7
    First of all,

    @sophiepeithos I am really appericate your advise. I said good bye to class ID 1108 error with switching the version of addressables to 1.1.9 as you commented.

    for the others,

    as sophoiepeithos said, I found every fbx asset that did not have any animations and disable "import Animation"
    also downgrade addressables to 1.1.9 .

    hope this will be fixed in future.