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

Editor crashes when changing artboard in code #34

Open
BitBarrel opened this issue Apr 8, 2024 · 0 comments
Open

Editor crashes when changing artboard in code #34

BitBarrel opened this issue Apr 8, 2024 · 0 comments

Comments

@BitBarrel
Copy link

When commenting and un-commenting the following code, the Unity editor crashes:

Change from this:

// m_artboard = m_file.Artboard(0);
// m_stateMachine = m_artboard?.StateMachine();
m_artboard = m_file.Artboard("Artboard 1");
m_stateMachine = m_artboard?.StateMachine("State machine 1");

To this (and vice versa):

m_artboard = m_file.Artboard(0);
m_stateMachine = m_artboard?.StateMachine();
// m_artboard = m_file.Artboard("Artboard 1");
// m_stateMachine = m_artboard?.StateMachine("State machine 1");

@BitBarrel BitBarrel changed the title Editor crashes when changeing artboard in code Editor crashes when changing artboard in code Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant