Undo not working

I have recently ran into this problem and I am not sure what could be the cause but it is rather frustrating. When I undo, changes the Pro Builder “wireframe” is undone but the geometry remains the same.
Image

Hi! Neat looking level!

Could you give me a bit more info please:

  • version of Unity
  • version of ProBuilder
  • does it always happen? only sometimes? perhaps only with prefabs, etc?

Thanks!

I am sorry for the lack of info the initial post.
Unity 2019.3.b12
ProBuilder 4.1.2
It was happening regularly but now its not happening.:face_with_spiral_eyes: I will try to replicate the problem.

Ok! Just let me know if you find a definite set of repro steps :slight_smile:

I am having this issue as well. Undo does not work in ProBuilder at all.

Undoing simply undo’s the selection of the game object, regardless of the number of edits I make to vertices using any of the tools. (For clarity I’m editing a simple game object that has a single box mesh made in the editor)

Unity: 2020.1.a20.2541
ProBuilder: 4.2.3

I’m going to try upgrading to Preview.2 4.3.0

After upgrade to 4.3.0 the issue I’m experiencing is the same. I undo and the wireframe reverts but not the mesh. I created a new shape from the probuilder menu and moved a face down, then tried to undo:
5536333--569140--upload_2020-2-29_9-26-0.png

If it helps, I’m using HDRP.

A few more screenshots of the issue
Moving a vertex right and undoing (then I can select the vertex)

Moving a face:
5536351--569149--upload_2020-2-29_9-34-49.png

Moving an edge:
5536351--569146--upload_2020-2-29_9-34-13.png

Hi, I wasn’t able to reproduce on my side, so here’s a couple of quick questions:

  • Do you have any errors or warnings when undoing?
  • What’s your build target platform?
  • Are you on Windows or Mac?
  • Are you using polybrush? We’ve had issues in the past with probuilder and polybrush acting weird together, but it should be fixed now.

Hiya,

Answers:

  • Do you have any errors or warnings when undoing?
    None (first thing I checked)

  • Are you on Windows or Mac?

  • What’s your build target platform?
    I’m developing on Windows targeting Windows/x86_64.

  • Are you using polybrush? We’ve had issues in the past with probuilder and polybrush acting weird together, but it should be fixed now.
    Not using polybrush

I even tried creating a brand new project with the HDRP template and was able to repro.

Steps:

  1. Install Unity Hub 2.3.0, Install Unity 2019.3.0f3
  2. Click New → High Definition RP, Name project, select location Click Create
  3. Open project and browse to Package manger
  4. Install ProBuilder 4.1.2 (2019.3 verified)
  5. Tools → ProBuilder → ProBuilder Window
  6. Click first tool function (New Shape)
  7. Select the second tool icon (vertex selection)
  8. Select any vertex, move the vertex
  9. CTRL+Z to undo
  10. → Nothing happens
  11. Hover the mouse over the object
  12. → The vertex position actually was undone, but the mesh remains the same
  13. Select the vertex again in it’s original position
  14. → The mesh remains broken, unable to select the previous vertex
  15. Move the selected vertex (original)
  16. → The mesh updates correctly

I’ll get a video of this going.

Video (.mp4) here:

1 Like

Hi, thank you for figuring out a small repro case, could you enter a bug and post the case number here ? That way you will be notified when it is fixed.

1 Like

I’ve experienced this issue as well, usually seems to occur with the first sculpt edit of a session. Undo usually works fine afterwards, but will not affect the first change made to the mesh.

@BihtSift did you submit a bug for this? I tried to repro in a new project following these steps but couldn’t. But I am experiencing this same issue in my project. Not sure what’s causing it

This is happening to me as well. Its rather annoying. I am using HDRP in 19.4.3 did you find any fix?

I’m sorry for necroing my old thread, and I’m sorry for how long this has taken me but I’ve submitted a proper bug report since this is still happening in the latest version of Unity and ProBuilder.

I’ve confirmed that this is an issue specifically with the HDRP template in UnityHub rather than the HDRP package. If a project is created with a 3d template instead and the HDRP and ProBuilder packages are installed after, undoing works just fine.

The case id is:
1277437

Support already found the issue related to the “NoAsset” window which I identified comes from ShaderGraph!

Closing the window and restarting Unity fixes the issue for that session (until ShaderGraph is opened again!)

1 Like

Thanks for the bug report, I was able to reproduce it immediately and have just submitted a fix.

1 Like

That was quick! Thank you!

Hmmmmm

1 Like