A ton of rendering exceptions when placing entities down with the sandbox mode or the construction placement menu in the dev env map #928

Open
opened 2026-09-17 07:11:21 +00:00 by QuillTheCreature · 0 comments
Member

📋 Description

clyde.overlay throws a ton of errors anytime the placement grid is open via the sandbox panel or via the construction placement menu in the dev env.


🔁 Steps to Reproduce

  1. Launch the dev env build server and client
  2. Hop into the dev map in sandbox mode
  3. Open the sandbox panel
  4. Place down an entity which uses a grid to position itself, like blood or walls
  5. Observe errors in the console

Or:

  1. Launch the dev env build server and client
  2. Hop into the dev map in sandbox mode
  3. Open the crafting menu
  4. Click on APC
  5. Click on place construction ghost
  6. Observe errors in the console

💥 Expected Behavior

No errors


🧠 Actual Behavior

The following error message gets spammed constantly:

[ERRO] clyde.overlay: Caught exception while drawing overlay Robust.Client.Placement.PlacementManager+PlacementOverlay. Exception: System.ArgumentException: Grid 2 is on map 1, but coords are on map 2. (Parameter 'posWorld')
   at Robust.Shared.GameObjects.SharedMapSystem.MapToGrid(EntityUid uid, MapCoordinates posWorld) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Shared/GameObjects/Systems/SharedMapSystem.Grid.cs:line 1400
   at Robust.Client.Placement.Modes.SnapgridCenter.Render(OverlayDrawArgs& args) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Placement/Modes/AlignSnapgridCenter.cs:line 30
   at Robust.Client.Placement.PlacementManager.Render(OverlayDrawArgs& args) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Placement/PlacementManager.cs:line 694
   at Robust.Client.Placement.PlacementManager.PlacementOverlay.Draw(OverlayDrawArgs& args) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Placement/PlacementOverlay.cs:line 22
   at Robust.Client.Graphics.Clyde.Clyde.RenderSingleWorldOverlay(Overlay overlay, Viewport vp, OverlaySpace space, Box2& worldBox, Box2Rotated& worldBounds) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Graphics/Clyde/Clyde.HLR.cs:line 162

📸 Screenshots / Videos


🗺️ Additional Details

Any other info that might help, like:

## 📋 Description clyde.overlay throws a ton of errors anytime the placement grid is open via the sandbox panel or via the construction placement menu in the dev env. --- ## 🔁 Steps to Reproduce 1. Launch the dev env build server and client 2. Hop into the dev map in sandbox mode 3. Open the sandbox panel 4. Place down an entity which uses a grid to position itself, like blood or walls 5. Observe errors in the console Or: 1. Launch the dev env build server and client 2. Hop into the dev map in sandbox mode 3. Open the crafting menu 4. Click on APC 5. Click on place construction ghost 6. Observe errors in the console --- ## 💥 Expected Behavior No errors --- ## 🧠 Actual Behavior The following error message gets spammed constantly: ``` [ERRO] clyde.overlay: Caught exception while drawing overlay Robust.Client.Placement.PlacementManager+PlacementOverlay. Exception: System.ArgumentException: Grid 2 is on map 1, but coords are on map 2. (Parameter 'posWorld') at Robust.Shared.GameObjects.SharedMapSystem.MapToGrid(EntityUid uid, MapCoordinates posWorld) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Shared/GameObjects/Systems/SharedMapSystem.Grid.cs:line 1400 at Robust.Client.Placement.Modes.SnapgridCenter.Render(OverlayDrawArgs& args) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Placement/Modes/AlignSnapgridCenter.cs:line 30 at Robust.Client.Placement.PlacementManager.Render(OverlayDrawArgs& args) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Placement/PlacementManager.cs:line 694 at Robust.Client.Placement.PlacementManager.PlacementOverlay.Draw(OverlayDrawArgs& args) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Placement/PlacementOverlay.cs:line 22 at Robust.Client.Graphics.Clyde.Clyde.RenderSingleWorldOverlay(Overlay overlay, Viewport vp, OverlaySpace space, Box2& worldBox, Box2Rotated& worldBounds) in /home/quill/Documents/Workspace/Temp/ByrdStation/RobustToolbox/Robust.Client/Graphics/Clyde/Clyde.HLR.cs:line 162 ``` --- ## 📸 Screenshots / Videos <video src="/attachments/bbc8c78f-93c6-455c-a3d4-4428a478a030" title="Screencast_20260917_090808" controls></video> --- ## 🗺️ Additional Details Any other info that might help, like: - Tested on revision: 71d090614e9f76195e30415c016bb34fa9b8b6a6
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Byrd-Station/Byrd#928
No description provided.