UnityObject2 is related to the WebPlayer, and not to WebGL.
Are you getting a longer trace of where the issue is coming from ? try to look in the JS console of your browser.
Also, there’s another possibility that your c# code is “injecting” custom JS code at runtime.
You can try to look for unityobject2 in all of your project source files, maybe something will turn up that is adding it (we also used something similar in the past, so it’s not so far fetched).
Sorry to ask something a little different from the thread, but when you use that OpenNewTab method, does the browser block the popup?
I use chrome and your technique and the popup is blocked unless I add exception.
I trigger the Application.ExternalCall(“OpenNewTab”, url); in a unity UI with Pointer Down event response.
Hey,
in this project, the html handling isn’t my job. but yes, we have the same behaviour with google chrome. but at the moment, our UnityPlayer is on a popup window. so the user has to unblocked it anyway. but good to know that there will be a problem, when we integrate the 3d-window in the webpage. i have to ask the web-developer for a solution.