GithubHelp home page GithubHelp logo

Comments (6)

Seneral avatar Seneral commented on July 20, 2024

Hey Salepate!
This is a (more or less widely) known problem within editor programming in unity, unfortunately.
This should be fixed since a few months now, though. So please make sure you're using the latest version:)
If you want to check yourself, you can look into Editor/Node_Editor/NodeEditorWindow.cs, in the GUI function you'll find the try-catch-block around the drawing function. What should catch all errors that are emmitted actually causes errors itself when using any picker field (ObjectField, ColorField, EnumField, etc.). For some reason those builtin fields cause the GUI to crash when called from within a try-catch block.
I've found somewhat of a solution for this by only catching UnityExceptions, not the whole palette of System.Exception's. As I said I changed that in an (older) commit to only catch UnityExceptions but you can change that yourself if it's not yet set.
It may alse be caused from a try-catch block you've set yourself of course, so please check that, too.
Anyway, that should fix it hopefully!

from node_editor_framework.

Salepate avatar Salepate commented on July 20, 2024

Hi,

I do use the latest version of this framework (freshly cloned today) in a newly created project, mainly for testing purpose. I do see that all exceptions are being caught currently (I am using the master branch by the way). I'll try by only catching UnityExceptions see if that fix the problem.

Thank you anyway

Regards,

from node_editor_framework.

Seneral avatar Seneral commented on July 20, 2024

Oups, sorry then. Seems I forgot to merge that:/
Thanks for making me aware!

from node_editor_framework.

Seneral avatar Seneral commented on July 20, 2024

I committed a hotfix for this bcba068
That should do it:)

from node_editor_framework.

Salepate avatar Salepate commented on July 20, 2024

Thank you for the quick response!

Good framework by the way!

from node_editor_framework.

Seneral avatar Seneral commented on July 20, 2024

No problem;) If you have suggestions, just drop by here on GitHub!

from node_editor_framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.