Asset Bundle Build Issue

NodeCanvas Forums Support Asset Bundle Build Issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14276
    wirelessmike
    Participant

    Attempting to build asset bundles results in the error:
    Inconsistent asset when sorting preload assets: ” fileID: 0.

    Unity version: 2018.3.7f1
    nodeCanvas version: v2.9.2

    This is easily reproduced as follows:

    1. Create a new project in Unity
    2. Add a GameObject to the scene
    3. Add a Behavior Tree Owner to the GameObject
    4. Assign a Debug Log Text action task in the behavior tree
    5. Make the GameObject a prefab
    6. Open the AssetBundle Browser window and drag the prefab into the window
    7. Build the bundle
    8. Observe multiple errors in the Console

    Note: this appears to be related to a similar topic found here:
    https://nodecanvas.paradoxnotion.com/forums/topic/unable-to-export-prefabs/

     

    #14279
    Gavalakis
    Keymaster

    Hello,

     

    It is indeed relevant to that other post you linked. Even though Unity makes it appear to be an error, it is really more of a warning, considering that the asset bundle is correctly built.

    The message “Inconsistent asset when sorting preload assets: ” fileID: 0.” is super cryptic and does not really tell anything. I’ve searched everywhere for an answer but to no avail. I do know that it is relevant to the fact that the prefab is referencing a “not saved” asset (that is the temporary instace of the graph), but I do not do anything fancy other than creating an instance of a scriptable object.

    Once again, I would consider this a (cryptic) warning  and partialy some sort of a Unity bug. Can you please confirm that the asset bundle is built correctly indeed on your end as well?

    Thank you.

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

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