Search Unity

Terrain draw instanced for WebGL builds

Discussion in 'Web' started by douglassophies, Dec 29, 2018.

  1. douglassophies

    douglassophies

    Joined:
    Jun 17, 2012
    Posts:
    141
    There is a draw instanced checkbox at the top of terrain settings that vastly improves render speed in the editor. I was hoping this would help my WebGL build where terrain is a huge bottleneck. However, the terrain does not render at all now.
    Is this expected behavior with WebGL?
    What is the instanced check box actually doing? If i cannot get it to work, perhaps i can emulate it for some partial performance improvements.
     
  2. douglassophies

    douglassophies

    Joined:
    Jun 17, 2012
    Posts:
    141
    It does not seem to work on different computers or with different projects so i guess it is just broken in the version of Unity. 2019 does seem to work with a test project (although it introduces new failed build problems for me on my actual project).
    Can anyone confirm that its definitely an issue with the Unity version - 2018.3
    Can Unity confirm if the fix in 2019 will be back ported?
     
  3. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    I think the best thing to do is submit a bug report.
     
  4. douglassophies

    douglassophies

    Joined:
    Jun 17, 2012
    Posts:
    141
    Thanks Marco. I would have thought this would not help as they seem to have already found and fixed it in 2019 as it works there on the same test project. Unless the upgrade changed some defaults which happened to be the cause...
    Will post a report and see what happens. Thanks!
     
  5. snipshotmedia

    snipshotmedia

    Joined:
    Nov 13, 2023
    Posts:
    10
    This still is not fixed
     
  6. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    273
    Given how old this thread is, I'd need a new bug report to bring this up with the team! @snipshotmedia , can you open one and share the report with me?