Canvas crashes after rendering first frame. is.equ
received boolean parameters
#3277
Labels
bug
Something isn't working
is.equ
received boolean parameters
#3277
Hi there, I have an issue where the scene works completely fine stand-alone, but when placed into our project the
Canvas
always render the first frame then crash.I have traced the issue to
fiber/src/core/utils.ts:152
, inis.equ
compare function, where the values it received were bothtrue
. (e.g. basicallyis.equ(true, true)
was called)Modifying the first comparison to handle boolean did solve the error and scene seems to function as before:
But I'm not sure if that's a proper fix. Is the lack of boolean support intended? (e.g. this function should not receive boolean params and the root issue lies somewhere in our project?)
The full stacktrace is provided below. Please advise, thank you very much and have a nice day! 🙏🏼
The text was updated successfully, but these errors were encountered: