LogicalError / realtime-CSG-for-unity

Realtime-CSG, CSG level editor for Unity
https://realtimecsg.com
MIT License
735 stars 77 forks source link

Rotation handles not always appearing in 2020.2.1f1 / URP #319

Closed cr4yz closed 1 year ago

cr4yz commented 3 years ago

In Unity 2020.2.1f1 + URP 10.2.2 the RealtimeCSG rotate handle does not always appear when hovering a brushes bounds. It renders when Event.current.type is EventType.Repaint, but the Repaint event does not call on mouse move.

I've hacked in a quick fix here: https://github.com/LogicalError/realtime-CSG-for-unity/blob/03adff579cc82167b2dd5d226ec89cd6745249fe/RealtimeCSG/Assets/Plugins/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs#L1358

if(Event.current.type == EventType.MouseMove) { sceneView.Repaint(); }

nukeandbeans commented 2 years ago

Fixed with #349

Janooba commented 2 years ago

Confirmed fixed in #349 using Built-In@2019.4.31f1 and URP@2020.3.35f1

pdinklag commented 7 months ago

Unity 2022.3.13 in URP here. I can only get the rotation handles to show up very sporadically (and they disappear again after moving the mouse minimally) and almost never for the intended axis to the point where it's basically impossible to rotate anything. It doesn't seem related to URP, but since this issue exists, maybe it does?