Skip to content

Commit edfef65

Browse files
committed
Add Ubiq defineConstraint to XRI compatibility assembly
The Ubiq.Genie.XRI asmdef references the Ubiq assembly but only gated compilation on XRI being present. Add a UBIQ_GENIE_HAS_UBIQ constraint so it also skips compilation when Ubiq is not yet installed.
1 parent d67be3f commit edfef65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Unity/Assets/Ubiq-Genie/Runtime/Compatibility/XRI/Ubiq.Genie.XRI.asmdef

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@
1414
"precompiledReferences": [],
1515
"autoReferenced": true,
1616
"defineConstraints": [
17+
"UBIQ_GENIE_HAS_UBIQ",
1718
"UBIQ_GENIE_XRI"
1819
],
1920
"versionDefines": [
21+
{
22+
"name": "com.ucl.ubiq",
23+
"expression": "",
24+
"define": "UBIQ_GENIE_HAS_UBIQ"
25+
},
2026
{
2127
"name": "com.unity.xr.interaction.toolkit",
2228
"expression": "",

0 commit comments

Comments
 (0)