Describe the bug
using unityContent.send does not work inside react hook "useeffect". Method is not called in unity.
To Reproduce
React.useEffect(() => {
unityContent.send(
"TestObject",
"TestMethod",
10
);
}, [updatedParameter]);
Expected behavior
method should be called in unity
Desktop (please complete the following information):