Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

WebGL BuildOptions?

Discussion in 'Unity 5 Pre-order Beta' started by made-on-jupiter, Feb 11, 2015.

  1. made-on-jupiter

    made-on-jupiter

    Joined:
    May 19, 2013
    Posts:
    25
    Hi,

    we've been using a (C#) script to build our webplayer builds. We switch between development and production builds that way. We want to do the same for WebGL, but seem to be missing a few BuildOptions for that. Is there any way to set the following WebGL build options in C#?:

    • Emscripten Optimization Level
    • “Enable Exceptions” in WebGL Player Settings (not seeing anything here)
     
  2. made-on-jupiter

    made-on-jupiter

    Joined:
    May 19, 2013
    Posts:
    25
    Looks like EditorUserBuildSettings.webGLOptimizationLevel was just introduced in one of the 5.0 release candidates.

    AFAIK, still no control WebGL exception reporting level, or WebGL memory.