Search Unity

Feedback Browser Javascript Interaction

Discussion in 'Web' started by Novack, Jun 10, 2019.

  1. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    844
    Currently working and testing the interaction of Unity WebGL projects with the browser side javascript, require builds. This makes the development iteration quite painful and time wasting. To make it worst, WebGL builds are slowww.

    If we could have an option that for WebGL projects the Unity Editor would run an instance of a javascript engine and serve the jslib contents, that would make the in-editor play sessions entirely functional, and actually meaningful.

    Right now, even for the slightest of interaction tests we need to make a build, and as said, development cycle is quite a pain.
     
    Last edited: Jun 10, 2019
  2. AlexHell

    AlexHell

    Joined:
    Oct 2, 2014
    Posts:
    167
    +1
    My workflow was (not very long time) - edit JS in the server (or on my notepad, then reload to server), and this JS is linked via <script> html tag. But our use-case was not very coupled with unity engine, and I have tested prebuilt unityweb files, with html preloader.