Cannot read properties of null (reading 'getBoundingClientRect') #412
-
Version: Unity 2021 Page -> open modal -> load unity component
Unity Component
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
I think its due to an unmounting issue when the modal closes. Anyone have any ideas on how to proceed? |
Beta Was this translation helpful? Give feedback.
-
I think reverting to v8.8.0 of react-unity-webgl and loading in Unity 2019 might be the way to go as its better supported. |
Beta Was this translation helpful? Give feedback.
-
I fixed this issue. "react-unity-webgl": "8.8.0" Component
parent component page
|
Beta Was this translation helpful? Give feedback.
I fixed this issue.
"react-unity-webgl": "8.8.0"
Unity 2021
Component