[Feature Request] Run-Time blackboard bound variable value preview

NodeCanvas Forums General Discussion [Feature Request] Run-Time blackboard bound variable value preview

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #15362
    zsoik
    Participant

    Currently, blackboards that have bound variables are always displaying their binding target in the blackboard inspector.

    Plain-old-variables instead display the value that their variable has.

    It’s really hard to debug if you don’t know the values (e.g. fetched from a bound property) of specific variables at runtime, where the binding target is of less interest to me than the actual values.

    I’d like to request that bound variables will show their real values (e.g. just like normal variables) at runtime.

     

    I’ve already patched this in my fork by ignoring the fact that the variable is bound in BlackboardEditor whilst the application is playing. I didn’t experience any side-effects apart from less obvious bound/normal variables separation on blackboards and not being able to trace the binding target back. For a proper implementation the UX should probably be further improved. For me, it’s a huge timesaver because we work a lot with bindings.

     

    #15371
    Gavalakis
    Keymaster

    Hey!

    The only downside in doing this would be performance reasons since for the value of the property to be displayed, the property will naturally need to be evaluated/fetched all the time. This will of course have a performance impact depending on the property code.
    I do however understand it being useful, thus I could add an option for that. Just noted this down in the TODO.

    Thanks for your suggestion. 🙂

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

    #15426
    bonyyousuf
    Participant

    This is necessary to debug code. Having an option would indeed be preferable 🙂

    #15430
    Gavalakis
    Keymaster

    Thanks for the input. I have added your suggestion to the roadmap. It should be fairly easy to implement and add 🙂

    Thanks!

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

    #15454
    bonyyousuf
    Participant

    Can we please have an ETA on this? It’s really hard to debug without this. Maybe you could change one file and upload it here so we don’t have to wait for a full update approved by Unity?

    #15458
    Gavalakis
    Keymaster

    Hello again,

    The new version live on the asset store has your suggestion implemented. It’s a per variable option found under the variable “gear” menu.

    Let me know how that works for you.

    Thanks!

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

    #15459
    bonyyousuf
    Participant

    This is awesome. Thanks man

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