Commit 08b86d1
committed
Add defineConstraints to defer compilation until dependencies are installed
The Runtime assembly (Ubiq.Genie) uses versionDefines/defineConstraints
to skip compilation until both com.ucl.ubiq and com.unity.webrtc-ubiq-fork
are present. The PostInstall editor assembly does the same for com.ucl.ubiq.
This prevents compilation errors on first UPM import, before the
AddDependencies script has had a chance to install Ubiq.1 parent febd410 commit 08b86d1
File tree
2 files changed
+26
-4
lines changed- Unity/Assets/Ubiq-Genie
- Editor/PostInstall
- Runtime
2 files changed
+26
-4
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
16 | 30 | | |
17 | 31 | | |
0 commit comments