Skip to content

Stop ticking annotation components of static meshes - #169

Merged
WouterJansen merged 1 commit into
Cosys-Lab:5.8devfrom
jcfurey:fix/static-annotation-tick
Oct 5, 2026
Merged

WouterJansen merged 1 commit into
Cosys-Lab:5.8devfrom
jcfurey:fix/static-annotation-tick

Conversation

@jcfurey

@jcfurey jcfurey commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

UAnnotationComponent ticks every frame, but only skeletal meshes need it: a static mesh's annotation is complete once its scene proxy exists. Static-mesh annotations now turn their tick off once the proxy has been created.

In HERCULES (a Cosys-AirSim fork, UE 5.8.3), ~8,600 annotated static meshes spent ~2.5 ms per frame in these ticks. Also built from this tree with UE 5.8.3 (Windows); segmentation in Blocks is unaffected.

🤖 Generated with Claude Code

UAnnotationComponent ticks every frame, but only skeletal meshes need
per-tick updates; a static mesh's annotation is complete once its scene
proxy exists. With thousands of annotated static meshes the ticks cost
milliseconds per frame. Static-mesh annotations now disable their tick
once their proxy has been created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JmWqXFCY6vDdpRe4VHoaQX
@jcfurey
jcfurey marked this pull request as ready for review October 4, 2026 05:46
@WouterJansen
WouterJansen changed the base branch from main to 5.8dev October 5, 2026 06:52
@WouterJansen
WouterJansen merged commit 24638e4 into Cosys-Lab:5.8dev Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants