Obi Official Forum
Feedback Define symbols not being used - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: General (https://obi.virtualmethodstudio.com/forum/forum-5.html)
+--- Thread: Feedback Define symbols not being used (/thread-3377.html)



Define symbols not being used - manurocker95 - 25-03-2022

Hey, as feedback. The BurstColliderWorld and stuff uses the define symbols OBI_BURST, OBI_MATHEMATICS and OBI_COLLECTIONS which seems not to be in the documentation nor automatically added to player settings and there's no setup window to add them.


RE: Define symbols not being used - josemendez - 25-03-2022

(25-03-2022, 01:03 PM)manurocker95 Wrote: Hey, as feedback. The BurstColliderWorld and stuff uses the define symbols OBI_BURST, OBI_MATHEMATICS and OBI_COLLECTIONS which seems not to be in the documentation nor automatically added to player settings and there's no setup window to add them.

These symbols are version defines, automatically defined by the assembly definition when the appropriate dependency versions are installed in your project.

Check the /Obi/Scripts/Obi.asmdef file, there you will see the symbols being conditionally defined (and very much used troughout Obi, to determine whether the Burst-based backend is available)

Also, see: https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html