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'm really excited about this integration and looking forward to getting it working. Thanks for all the dev and the instructions for setup in the guide!
I managed to get a test version working last year in Unity 2018.3.0f2 with the regular ScalarTemplate and the file hosted on a reclaim server. I'm trying to build a new project in the 2021.3.8f1 LTS release of Unity, and having trouble with getting Scalar to pass message to the WebGL scene.
The test project loads fine, but the annotation editor's "Set all values from current view" button doesn't update or log any errors. I've manually changed the values on a few annotations, but clicking them doesn't move the camera in the scene. Any ideas?
My test media page is here with 3 annotations attached if you can see anything in the DevTools inspector I'm missing
I did get a couple of errors for deprecated functions that I've replaced in my local fork, but haven't been able to get it working yet (working on windows so the fork is a little messy).
Pointer_stringify() deprecated. Replaced with UTF8ToString() in jslib plugin
UnityWebRequest.isNetworkError and isHttpError, replace with Result.ConnectionError and Result.ProtocolError in Scalar.API
Any help or updates appreciated!
The text was updated successfully, but these errors were encountered:
@eloyer first, my condolences on the loss of Angel David Nieves. I was shocked to hear the news and so sad to learn of his passing.
I'd really love to get this integration working on my site and update it for more recent versions of Unity. Is there any active development, or should we explore on our own? Thanks
Thanks @apjmason , and apologies for the long delay in replying — my Scalar time is pretty constrained these days. This looks like a CORS (cross-domain) issue; Scalar (or really the web browser) apparently wants the Unity project to be on an approved domain in order to receive its messages. What would likely make the most sense would be for you to set up your own install of Scalar (the easiest way is through Reclaim Hosting) where you could also upload the Unity files, so CORS restrictions wouldn't be triggered. I'll add this info to the User's Guide as well.
Hi all,
I'm really excited about this integration and looking forward to getting it working. Thanks for all the dev and the instructions for setup in the guide!
I managed to get a test version working last year in Unity 2018.3.0f2 with the regular ScalarTemplate and the file hosted on a reclaim server. I'm trying to build a new project in the 2021.3.8f1 LTS release of Unity, and having trouble with getting Scalar to pass message to the WebGL scene.
The test project loads fine, but the annotation editor's "Set all values from current view" button doesn't update or log any errors. I've manually changed the values on a few annotations, but clicking them doesn't move the camera in the scene. Any ideas?
My test media page is here with 3 annotations attached if you can see anything in the DevTools inspector I'm missing
I did get a couple of errors for deprecated functions that I've replaced in my local fork, but haven't been able to get it working yet (working on windows so the fork is a little messy).
Any help or updates appreciated!
The text was updated successfully, but these errors were encountered: