Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

editor freezes often when undoing (995745)

Discussion in '2018.1 Beta' started by laurentlavigne, Feb 1, 2018.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,987
    anyone else getting weird hiccups like that?
    I think it's connected to lightmapping being turned on by default
     
  2. kemalakay

    kemalakay

    Unity Technologies

    Joined:
    Jul 12, 2016
    Posts:
    224
    Hey @laurentlavigne

    This is a known issue because lightmapping backends rely on CPU and it has been always like that. So when you move your camera in scene view or when you undo stuff, it is expected that editor interaction will be slow, and it will especially be more pronounced when you have a large project with many instances in your scene. Going forward, we're working on GPU Lightmapper. When that feature is introduced, all the lightmapping process will be done in GPU so CPU will be free.

    Thanks
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,987
    I know slight slowdown is to be expected, but a 5 second freeze sounds like a bug to me.
     
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,987
    how does it compare to the octane baker that was recently released?
     
  5. kemalakay

    kemalakay

    Unity Technologies

    Joined:
    Jul 12, 2016
    Posts:
    224
    We can check it on our end if you've a reproducible project. As you know, you can share it through BugReporter and post case ID here, I can test it on my machine.

    Last time I tested, unlike lightmapping backends in Unity, OctaneRenderer was purely rendering the results on their PBR Viewport and it wasn't generating lightmaps. I now saw that they recently released live lightmap baking feature here:

    https://unity.otoy.com/guides/live-lightmap-baking-guide-new/

    But reading through comments, I can still see that they're not outputing the converged lightmaps in project folder and instead, they're storing them in their external tool. You can render the lightmaps for each object one by one, then you need to assign the rendered texture to GameObject. Thus, at this point it won't still be a fair comparison unless OctaneRenderer works like lightmapper backends in Unity. We're waiting for that functionality in order to make a fair comparison.

    On a side note, I'd like to remind that Octane will only work with Nvidia graphics card and on Windows. Unity's GPU accelerated Progressive Lightmapper is targeting Mac and Linux in addition to Windows, and will work across AMD and Nvidia graphics hardware (ideally on Intel GPU too, but no promises for that yet).

    Thanks
     
    Peter77 likes this.