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

"Assertion failed!" crash on UNITY #40

Closed
JimPapanick opened this issue Mar 20, 2024 · 5 comments
Closed

"Assertion failed!" crash on UNITY #40

JimPapanick opened this issue Mar 20, 2024 · 5 comments
Assignees

Comments

@JimPapanick
Copy link

JimPapanick commented Mar 20, 2024

image

I made a working noise vocoder and I exported it and loaded it into my project.
As soon as I open it I get this crash error

EDIT: I tried loading the json file from the package manager in a new and empty project and i got these errors
image

@JimPapanick JimPapanick changed the title Anybody gets this crash on UNITY? "Assertion failed!" crash on UNITY Mar 20, 2024
@jinpavg
Copy link
Contributor

jinpavg commented Mar 28, 2024

Hi @JimPapanick , thank you for reaching out here -- can you give me a little more information, which versions of RNBO and Unity are you using? Also, is this something new, have you been able to get other patch exports working in the past, or in this project?

@JimPapanick
Copy link
Author

This weird problem gets solved if you are using "<" or ">" comparinsons and your default value is lower than the @min or higher than the @max. Set your default value between the expected values and it is fixed. Why this happens to crash unity idk.

@jinpavg
Copy link
Contributor

jinpavg commented Aug 19, 2024

Hi Jim, thank you for this -- can you explain a little more, where are you doing this less than / greater than comparison? Are you talking about a [param] object in RNBO? Can you give an example of an object that does give the crash and one that does not give the crash?

@JimPapanick
Copy link
Author

I think it's a param actually, on second look. The picture below would crash unity when exported. I think it's because the parameter can't accept a default value lower than it determines. If I come across this again I will post in more details.
image

@jinpavg
Copy link
Contributor

jinpavg commented Aug 22, 2024

OK, thank you Jim, yes please let us know if it crashes again under the same conditions.

@jinpavg jinpavg closed this as completed Sep 25, 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

2 participants