Commit 51bbea4
fix: bridge safety + PlayMode test migration + tick group skip
Wrap all 4 codegen'd bridge callbacks (Get/Set/GetAll/SetAll_Component)
in try/catch to prevent C# exceptions from corrupting the native QuickJS
call stack (SIGSEGV). Change Set_Component missing-entity log from
LogError to LogWarning to avoid NUnit false positives.
Add tick group skip optimization: track active tick groups via static
bitmask set during script fulfillment, skip tick systems entirely when
no scripts use that group. Component lifecycle ticks (fixedUpdate,
lateUpdate) still run unconditionally for Fixed/AfterTransform groups.
Add UpdateAllLookups before TickComponents in JsSystemRunner to refresh
bridge ComponentLookups after structural changes in PlayMode tests.
Migrate E2E tests from EditMode to PlayMode assemblies. Update
SceneFixture for PlayMode: add ForceRediscovery for fixture system
scripts, keep search paths and entities across tests.
Fix flaky StressTest_SyntaxErrorRecovery_UnderPressure: assert
ReloadScript returns false instead of comparing ErrorCount.
8/8 EditMode, 134/134 PlayMode tests pass. Median 12.5ms (80 FPS).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent daec5da commit 51bbea4
135 files changed
Lines changed: 861 additions & 1748 deletions
File tree
- Editor
- Integrations
- Integrations
- ALINE/Tests
- EditMode
- PlayMode
- CharacterController/Tests
- EditMode
- PlayMode
- InputSystem/Tests
- EditMode
- PlayMode
- Physics/Tests
- EditMode
- PlayMode
- QuantumConsole/Tests
- EditMode
- PlayMode
- Spatial/Tests
- EditMode
- PlayMode.Bridge
- JsGameCodegen~
- Runtime
- JsECS
- Systems
- Support
- Tick
- Tests
- EditMode
- PlayMode
- Plugins
- StoredPrefs/Tests
- EditMode
- PlayMode
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 19 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
20 | 33 | | |
21 | 34 | | |
22 | 35 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
29 | | - | |
| 39 | + | |
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
| |||
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
41 | | - | |
42 | | - | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 14 | | |
18 | 15 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 16 | + | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
| |||
0 commit comments