Facepunch / sbox-issues

175 stars 12 forks source link

Dragging GameObject/Component into script's Property field doesn't always work #6245

Open FlooferLand opened 1 month ago

FlooferLand commented 1 month ago

Describe the bug

Sometimes when dragging a GameObject or a Component into a script property field, it results in seemingly laggy UI and there is no way to fix it. Restarting the editor is the only way I've found you can fix the issue.

To Reproduce

  1. Open a prefab, and add a simple script component to it that references a game object or another component
  2. Leave the editor running for a while (20 minutes?) with the prefab open, perhaps exit/enter game mode a couple times?
  3. Try dragging a game object or a component into that new property field

Expected behavior

Script property fields working as normal

Media/Files

https://github.com/user-attachments/assets/3da33b27-58de-425f-93ed-a9d04072dfc1

Additional context

Running on Windows 11 with the latest Nvidia drivers and the latest build of the engine, the issue has been happening ever since I installed s&box about a week ago. I have checked for corruption via Steam's verify integrity tool and for some reason exactly 20 files always fail to validate but it seems unrelated.

I have not tested the "To Reproduce" steps yet.

solwllms commented 1 week ago

Gave this a go but not been able to repro, are you still experiencing this? How common is it? Any idea of a more reliable/solid repro?