Developer knowledge network · moderated exchange

UnreliableCode 커뮤니티

개발자 연구, 리버스 엔지니어링 및 코딩 커뮤니티

Knowledge index살다
4Categories
919Threads
2.8K게시물
Tutorial

Traversing Unity GameObjectManager Active Node Linked List in Rust IL2CPP [v2.4 Technical Discussion]

rust_il2cpp_dev
IL2CPP Master
MEMBER
대표: 165
가입 날짜: Oct 2020
게시물: 7
감사해요: 16
1개월 전 · Jul 4, 2026 11:20 AM
#1

In Unity engine (UnityPlayer.dll), GameObjectManager maintains doubly-linked lists of all game objects in the scene:

  1. Base pointer: GOM = *(uint64_t*)(UnityPlayerBase + 0x17C12E0).
  2. Structure:
    • 0x08: lastTaggedObject
    • 0x10: taggedObjects (Active entities: Players, Heli, Bradleys)
    • 0x18: lastActiveObject
    • 0x20: activeObjects (Ores, Collectibles, Traps, Crates)

Iterating taggedObjects->nextObject reads all player entities in under 12 microseconds without calling game methods!

ptr_arithmetic
C++ Wizard
MEMBER
대표: 162
가입 날짜: May 2018
게시물: 73
감사해요: 42
1개월 전 · Jul 4, 2026 6:14 PM
#2

Traversing GOM linked lists is so much faster than calling UnityEngine.Object.FindObjectsOfType in IL2CPP.

vtable_slayer
Senior Reverser
MEMBER
대표: 215
가입 날짜: Mar 2018
게시물: 86
감사해요: 61
1개월 전 · Jul 5, 2026 1:02 AM
#3

Essential offset for external memory reading in Rust.