Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScriptingObject::CreateManagedInternal() tries to get Managed class name when there is no managed class assigned #26

Closed
klukule opened this issue Dec 21, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@klukule
Copy link

klukule commented Dec 21, 2020

Issue description:
ScriptingObject::CreateManagedInternal() checks for existence of Managed counterpart for given scripting object, if none is found it tries to print Warning message... here is the problem, it uses ToString() which gets it's name from Managed Class.
This results in Access Violation exception

Steps to reproduce:

  • Create Visual Script
  • Add GetKeyboard node
  • Connect it to some node which will use it
  • Hit play

Minimal reproduction project:

  • none, see images
    image
    image

Flax version:
1.0 (Source build Commit #96457a0adc62bb26725ca1b6250b5c29b221f68d)

@mafiesto4 mafiesto4 added the bug Something isn't working label Dec 24, 2020
@mafiesto4
Copy link
Member

Fixed in #71 and 140fae3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants