Skip to content

Walls 4-1m requires serious optimization #1

@x1bViolet

Description

@x1bViolet

Operating System

Windows 10/11

Environment

Single Player

Game Version

Stable

SML Version

v3.9.0

Mod Version

v2.0.1

Describe the bug

As I accidentally discovered through incredible lags from an unknown source, using the “4-1m” walls from this mod causes severe lags because apparently their texture contains too many Prims (The current amount of triangles being drawn. as described by Unrealdetective https://unrealdirective.com/tips/stat-unit) compared to the regular Basic wall 4m from the game (This also applies to other wall types). Console command Stat UNIT

The following is an example on 50x100 wall constructions of both wall types:

  • Vanilla Basic wall (4m): 54.8K Prims and 64 draws
    Basic wall (4m)

  • This mod Basic wall 4-1m: 1394.8K Prims and 5045 draws
    Basic wall 4-1m

Expected Behavior

Basic walls 4-1m contain too many triangles to draw

Attachments

SMMDebug-2025-01-06-09-30-55.zip

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions