Dotween error And Il2ccp

FlowCanvas Forums Support Dotween error And Il2ccp

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2874
    nikitalino
    Participant

    Hi

    i have DOTween  plugin and installed dotween extension for FC

    some dotween nodes has  function nullable(vector3)  or nullable(boolean)   that dont want to serialize but in editor its says that all serialized.. its throw  AOT error when game start on android device/ in editor all ok.

    btw this dotween node is working as needed , its just throw this not beutiful error. i have 100 obj in pool so its 100 errors

    1 screen is error on android device

    3 screen   thats how it looks in dotween api

    Attachments:
    You must be logged in to view attached files.
    #2895
    Gavalakis
    Keymaster

    Hello there,
    I’ve just modified AOTClassesGenerator so that it includes Nullable and attached the modified file for you here.
    Please let me know if that works for you now.
    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

    Attachments:
    You must be logged in to view attached files.
    #2901
    nikitalino
    Participant

    Hello there, I’ve just modified AOTClassesGenerator so that it includes Nullable and attached the modified file for you here. Please let me know if that works for you now. Thank you.

    No sadly its dont help. Still an error.And i found that when i try to add smth to up connection it cant load anythyng. its stay on loading window/ i showed this in the gif.   (Dotween and nullable in prefered types)/ +  it cant load nullables of other many functions on screen2

    maybe its smthing wrong with dotween plugin?

    p.s btw i can avoid this with buildin TweenLookat but dotween has more functions with sequences etc.

    Attachments:
    You must be logged in to view attached files.
    #2918
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply!

    Indeed, dragging a nullable up from a port does freeze the browser (because of an unhandles exception on the browser thread). I have hotfixed this and can send you the temp fix to your registered email if you like (just let me know).

    In regards to the AOTClasses generator, can you please post the error for me? Can you please confirm that the generated AOTClasses.cs file does include a line like this: System.Nullable<UnityEngine.Vector3> System_Nullable_UnityEngine_Vector3; ?

    Please let me know.
    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2925
    nikitalino
    Participant

    Hi.np .   yes i have this lines in AotClasses.cs  . on 1 screen

    and i added full error in text file inside zip

    I have hotfixed this and can send you the temp fix to your registered email if you like (just let me know).

    yes i can test it. maybe aoterror and this fix somehow related

    Attachments:
    You must be logged in to view attached files.
    #2934
    Gavalakis
    Keymaster

    Hello again,

    I’ve sent you the fix in regards to the browser freeze. Please let me know if the fix works for you after importing the package.
    In regards the AOT error, hmm. Can you please open your AOTClasses.cs file and manually add this line of code somewhere:

    This is the exact type that the error is showcasing that no AOT was generated.
    Please let me know if adding this line makes any difference. If not, please confirm that the AOTClasses.cs file is actually included in the built and is not stripped by any link.xml files (which could be possible).

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2938
    nikitalino
    Participant

    Hi.

    ty for fix . browser works good and im happy – No aot errors now after i added  FlowCanvas.ValueInput Vector3 lines to AOTClasses.

    one more thing. nullable cant be placed to prefered types

    i  push button  add them but its not added and it will be error in build . Non-statik field requeres a target.

    its dont bother me cos  without that nullable node no errors and i dont use it. i just inform

    sorry for double same screens dont know how to delete
    error in zip

    Attachments:
    You must be logged in to view attached files.
    #2947
    Gavalakis
    Keymaster

    Hello again.

    I am glad the fix works for you.
    Nullable does indeed not appear in preferred types editor menu, but it is one of the few hardcoded types that is being added automatically, like list and dictionary. However the problem with nullable is that is a generic struct type and this means that I need to update the aot generator to include an entry for each generic type having entries for each nullable case that has a struct, meaning:

    However doing this will create hundreds of extra entries just for nullable. As such, I would rather recommend manually adding the required entries just like I showed in my previous post.

    Please let me know if that works you.
    Thanks 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

    #2951
    nikitalino
    Participant

    Hello again.
    …I need to update the aot generator to include an entry for each generic type having entries for each nullable case that has a struct

    However doing this will create hundreds of extra entries just for nullable. As such, I would rather recommend manually adding the required entries just like I showed in my previous post.

    i see ok ) this is very rare issue so np to use this method.Ty

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.