NodeCanvas in AssetBundle leads to Editor Exception

NodeCanvas Forums Support NodeCanvas in AssetBundle leads to Editor Exception

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11188
    patrick_kulling
    Participant

    Hey Gavalakis,

    we are bundling a BehaviourTreeOwner attached to a GameObject into an AssetBundle (for iOS, Android or WebGL). When loading this AssetBundle inside the Unity3D Editor in play mode – we are getting an Exception in the migration code starting here:

    Our guess is that the hasUpdated2_1 property is not serialized properly in the actual Graph & therefor in the AssetBundle – which does lead to another migration while in play mode inside the Editor.

    Since we did not upgraded from an earlier version & do not care about the migration code our workaround looks like this:
    https://gist.github.com/patrickkulling/2178b84920b31aba1207fc17b84dfdfb#file-graphowner-cs-L3-L8

    It would be actually great if there would be any proper solution or if you could give us some additional information in case we missed something.

    Best,
    Patrick

    NodeCanvas (v. 2.5.6)
    Unity3D (v. 5.3.4p6)

    #11199
    Gavalakis
    Keymaster

    Hello Patrick,

    Thanks for the information as well as the found cause of this problem.
    Yes, I will take a look at properly fixing this in the next update. Maybe even removing this update fix completely, since that is about for a year there now already and no longer really required.

    Thanks again for the info.

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

    #11207
    patrick_kulling
    Participant

    Thanks for your response.
    We will keep our workaround for now and will check back with a newer version : )

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