Unity crashes on asset import

NodeCanvas Forums Support Unity crashes on asset import

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11051
    vapire
    Participant

    Hi there!

    I’m new to Unity and I was trying out your wonderful NodeCanvas library. However, after importing the assets from the asset store Unity crashes. After re-opening it, it seemed the import worked anyway, which it somehow did because I could use Behaviour Trees and FSMs without a problem. But the Dialogue functionality seemed the problem, specifically the @DialogueUGUI prefab, because I was not able to drag it into the scene. So, i tried to re-import the prefab which made Unity crash again. I tried re-importing all and the issue remained… So, I suspect that while importing/compiling the prefab there seems to be a problem.

    My setup:
    – Mac OSX 10.11.2
    – Unity 5.4.5f1
    – NodeCanvas 2.5.6b

    If you need any additional information, just let me know.

    Thanks,
    vapire

    #11060
    Gavalakis
    Keymaster

    Hello,

    Thanks a lot! It seems that this issue got bypassed me somehow. I’ve just checked this and is indeed crashing here as well. Like you said, everything is importing correctly except from the “@DialogueUGUI” prefab.

    I’ve just re-submitted a new version to fix this problem. I didn’t realized this issue at all when I previously submitted the package (and as it seems neither did the asset store preview team).

    Sorry for the issue and thanks for letting me know!
    If you need the Dialogue UI Prefab let me know and I will email it to you immediately.

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

    #11062
    vapire
    Participant

    Wonderful! I’m glad I was able to help!

    I’m not in a hurry, so I can wait for the new version to be released. Another question: are there some more extensive tutorials/documentation on the Dialogue Tree functionality somewhere to be found? I’m thinking of using the functionality in a classic point&click adventure style, wanting to display text above characters heads, not using a portrait, etc.

    Somehow I wasn’t able to find anything in regards to these questions. Could you maybe point me in the right direction? Thanks!

    #11074
    Gavalakis
    Keymaster

    Hello 🙂

    Are you referring to creating custom UI for the dialogue trees, or some other parts of dialogue trees?
    If you are referring to UI, you can create your own UI script for dialogues to be show within, completely replacing the included @DialogueUGUI example.

    In practice all that is required is to create a script that will listen to the various static events the DialogueTree class is raising. All these events come with an argument which contains the information needed, like the dialogue text being said, the audio to be played, or the DialogueActor that is speaking. The DialogueActor is a class which also contains a Transform reference, so this can be used to display the text above characters in an adventure game fashion like you are after.

    A good start would be to open up the DualogueUGUI.cs script and see how the events are subscribed and put into action, then customize it to your needs probably by duplicating this script and making modification.

    I can of course provide more help on some part if you want so. Just let me know.
    Thanks.

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

    #11117
    vapire
    Participant

    Hi!

    Thanks alot, that helped me further quite a bit! You gave me an idea how to solve this. Maybe, down the line, I will write/make some small tutorials along the way. If so, I’ll let you know, so you can provide them if you want 🙂

    Thank you!

    #11123
    Gavalakis
    Keymaster

    Great. Glad this helped.
    It would of course be awesome if you decide to create tutorials 🙂
    Thanks!

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

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