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

Master config for WebGL

Discussion in '2018.3 Beta' started by reitzensteinm, Nov 10, 2018.

  1. reitzensteinm

    reitzensteinm

    Joined:
    Feb 9, 2015
    Posts:
    16
    The patch notes reference a Master config for the WebGL target, but there's no dropdown option to enable it like there is for e.g. PC standalone.

    Is there any way to enable it manually, and will we have a menu option for WebGL soon or is it as of yet unsupported?
     
  2. JJJohan

    JJJohan

    Joined:
    Mar 18, 2016
    Posts:
    214
    I was curious about this myself. I found that when enabling 'Master' configuration it modified the ProjectSettings/ProjectSettings.Asset like this somewhere in the file:

    Code (CSharp):
    1.   il2cppCompilerConfiguration:
    2.     Standalone: 2
    I figured I'd try simply adding the same '2' to WebGL was worth a shot, and it appears to work (although I've not noticed too much of a difference so far). During compile it's definitely spending a lot more time on the il2cpp process, and utilising all cores which makes sense during LTCG.

    Code (CSharp):
    1.   il2cppCompilerConfiguration:
    2.     Standalone: 2
    3.     WebGL: 2
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Can we have a bug report on this? The option should be available everywhere.
     
  4. reitzensteinm

    reitzensteinm

    Joined:
    Feb 9, 2015
    Posts:
    16
    1099894
     
    Last edited by a moderator: Nov 12, 2018
  5. aurelien-morel-ubiant

    aurelien-morel-ubiant

    Joined:
    Sep 27, 2017
    Posts:
    275
    You mustn't send your fogbuzz link but only the case ID, otherwise people can access all your bug report !
     
  6. reitzensteinm

    reitzensteinm

    Joined:
    Feb 9, 2015
    Posts:
    16
    I don't care about that, I wouldn't submit anything private to the system.
     
  7. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136