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

StateMachine exceeded max iterations #76

Closed
tarragonfly opened this issue Nov 21, 2024 · 3 comments
Closed

StateMachine exceeded max iterations #76

tarragonfly opened this issue Nov 21, 2024 · 3 comments

Comments

@tarragonfly
Copy link

tarragonfly commented Nov 21, 2024

image

Console gets flooded with these errors on regular webgl export.

Rive runtimes: 2.1.0
Unity 2022.3.51f1
rive-unity getting-started example project

WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
RiveTest.framework.js.gz:10 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
_JS_Sound_Init @ RiveTest.framework.js.gz:10
$func9638 @ RiveTest.wasm.gz:0x423094
$func9632 @ RiveTest.wasm.gz:0x421f36
$func9648 @ RiveTest.wasm.gz:0x425215
$func17793 @ RiveTest.wasm.gz:0x9294c9
$func17790 @ RiveTest.wasm.gz:0x928574
$func17842 @ RiveTest.wasm.gz:0x935724
$func17848 @ RiveTest.wasm.gz:0x9366ab
$func17918 @ RiveTest.wasm.gz:0x93d7f3
$func53611 @ RiveTest.wasm.gz:0x11cbff4
$main @ RiveTest.wasm.gz:0x11cfe38
Module._main @ RiveTest.framework.js.gz:10
callMain @ RiveTest.framework.js.gz:10
doRun @ RiveTest.framework.js.gz:10
run @ RiveTest.framework.js.gz:10
runCaller @ RiveTest.framework.js.gz:10
removeRunDependency @ RiveTest.framework.js.gz:10
(anonymous) @ RiveTest.framework.js.gz:10
doCallback @ RiveTest.framework.js.gz:10
done @ RiveTest.framework.js.gz:10
reconcile @ RiveTest.framework.js.gz:10
(anonymous) @ RiveTest.framework.js.gz:10
(anonymous) @ RiveTest.framework.js.gz:10
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
printErr @ RiveTest.loader.js:1
RiveTest.loader.js:1 StateMachine exceeded max iterations.
@damzobridge
Copy link
Contributor

This has to do with your state machine configuration in the Rive Editor. This forum post has some suggestions you can try.

@tarragonfly
Copy link
Author

This has to do with your state machine configuration in the Rive Editor. This forum post has some suggestions you can try.

Noted, but this is the official Rive example project. I did not set up the state machine. Nor am I able to fix it on my end.

@damzobridge
Copy link
Contributor

Thanks for the clarification. We'll look into updating the riv files for that example!

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