Commit 11aad56
committed
fix(audience-sample-app): make sample build under Unity 2022 + Unity 6 (SDK-256)
- Adds Immutable.Audience.Samples.SampleApp.Editor.asmdef pinning ScriptingBackendOverride.cs into a
discoverable Editor assembly; without an asmdef the implicit Assembly-CSharp-Editor may not be
picked up by Unity 6's sandboxed test-runner build context.
- Bumps com.unity.test-framework 1.1.33 -> 1.4.5 so [UnityTest] coroutines surface timeouts
correctly under UTF 2.x.
- Drops com.unity.toolchain.macos-arm64-linux-x86_64 2.0.5; the toolchain naming convention changed
past 2022 and Unity auto-selects the macOS toolchain anyway.
- Deletes packages-lock.json so each Unity version regenerates a lock matching its own UPM
resolution.
- Guards FindObjectOfType<AudienceSample> with #if UNITY_2023_1_OR_NEWER so APIUpdater can't
silently drop the includeInactive parameter when rewriting to FindFirstObjectByType.
- Converts deadline-style WaitForSecondsRealtime in two test methods to a polling pattern
(Time.realtimeSinceStartup against a budget); adds the WaitForCondition helper used elsewhere in
the test suite.1 parent 489b100 commit 11aad56
6 files changed
Lines changed: 63 additions & 434 deletions
File tree
- examples/audience
- Assets
- Editor
- SampleApp/Tests/Runtime
- Packages
Lines changed: 16 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 | + | |
Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
88 | 97 | | |
89 | 98 | | |
90 | 99 | | |
| |||
226 | 235 | | |
227 | 236 | | |
228 | 237 | | |
229 | | - | |
| 238 | + | |
230 | 239 | | |
231 | 240 | | |
232 | 241 | | |
| |||
329 | 338 | | |
330 | 339 | | |
331 | 340 | | |
332 | | - | |
333 | | - | |
334 | | - | |
| 341 | + | |
| 342 | + | |
335 | 343 | | |
336 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
337 | 347 | | |
338 | 348 | | |
339 | 349 | | |
| |||
554 | 564 | | |
555 | 565 | | |
556 | 566 | | |
557 | | - | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
558 | 572 | | |
559 | 573 | | |
560 | 574 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
17 | 35 | | |
18 | 36 | | |
19 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
0 commit comments