You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I load the plugin in a unity scene after the user accepted the terms and policy I initialize the plugin which show the consent form and after that I load the next scene.
In some scenarios the next scene is triggered before the consent form has finished showing, this make the consent form load a white page and impossible to close.
This mean right now without writing the whole consent form window loading manually with proper checks the plugin is not usable for multiple scenes because the risk of having an unusable app immediately at loading is too high.
This is what appear on the terminal:
`2024-12-31 18:09:40.066 23182-23182 chromium xxx.xxxxxx.xxxxx I [INFO:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'setApp' of undefined", source: about:blank (1)
2024-12-31 18:09:40.066 23182-23182 chromium xxx.xxxxxx.xxxxx I [INFO:CONSOLE(1)] "cmp or cmphandler not found", source: (1)
2024-12-31 18:09:40.066 23182-23182 chromium xxx.xxxxxx.xxxxx I [INFO:CONSOLE(1)] "Uncaught TypeError: window.cmphandler.show is not a function", source: about:blank (1)`
The SDK manager lives in a persistent gameobject with the dontdestroyonload property, but still I guess something gets destroyed among scenes making it fail.
Step 3: How to reproduce
Load the SDK in one scene without the given consent and immediately load a new scene.
I have the consent manager plugin installed and I initialize it but don't use it, don't know if it makes any difference.
Step 4: Expected behavior
The form should load normally among the scenes.
The text was updated successfully, but these errors were encountered:
Thank you for reaching out.
We’re unable to reproduce the issue on our end. To assist you more effectively, could you kindly provide a minimal reproducible project that demonstrates the issue?
Additionally, it would be helpful if you could clarify the following details:
1. Device model
2. OS version
3. Geographic location (GEO)
[REQUIRED]
Step 2: Describe the bug
I load the plugin in a unity scene after the user accepted the terms and policy I initialize the plugin which show the consent form and after that I load the next scene.
In some scenarios the next scene is triggered before the consent form has finished showing, this make the consent form load a white page and impossible to close.
This mean right now without writing the whole consent form window loading manually with proper checks the plugin is not usable for multiple scenes because the risk of having an unusable app immediately at loading is too high.
This is what appear on the terminal:
`2024-12-31 18:09:40.066 23182-23182 chromium xxx.xxxxxx.xxxxx I [INFO:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'setApp' of undefined", source: about:blank (1)
2024-12-31 18:09:40.066 23182-23182 chromium xxx.xxxxxx.xxxxx I [INFO:CONSOLE(1)] "Install bridge", source: (1)
2024-12-31 18:09:40.066 23182-23182 chromium xxx.xxxxxx.xxxxx I [INFO:CONSOLE(1)] "cmp or cmphandler not found", source: (1)
2024-12-31 18:09:40.066 23182-23182 chromium xxx.xxxxxx.xxxxx I [INFO:CONSOLE(1)] "Uncaught TypeError: window.cmphandler.show is not a function", source: about:blank (1)`
The SDK manager lives in a persistent gameobject with the dontdestroyonload property, but still I guess something gets destroyed among scenes making it fail.
Step 3: How to reproduce
Load the SDK in one scene without the given consent and immediately load a new scene.
I have the consent manager plugin installed and I initialize it but don't use it, don't know if it makes any difference.
Step 4: Expected behavior
The form should load normally among the scenes.
The text was updated successfully, but these errors were encountered: