[QUALITY] Debug.Log calls left in production interaction/trigger paths #24
Labels
No labels
architecture
bug
duplicate
enhancement
help wanted
invalid
performance
quality
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lavarius/ProjectOverlay#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🟡 Medium — Code Quality
Debug.Logcalls left in hot interaction/trigger paths run in production builds, adding overhead and spamming the console:CallElevator.csL42 — logs on every elevator callElevator.csL27/29 — logs on every floor eventObjectParenter.csL12-15/23 — logs on every trigger enter/exitFix: Wrap in
#if UNITY_EDITORor use a conditional logging utility:Or create a
DevLog.Log()wrapper that compiles away in release builds.