Build Settings Define Missing

Issue #123 resolved
Dakota McCutcheon created an issue

What happened? Missing define symbol in build settings for iOS, Windows/linux/osx. It auto added it too all the rest but the desktops, mobiles and webgl

How can we reproduce it? N/A

If screenshots would help explain or demonstrate your issue, please include these.

What version of Unity are you using? 5.6.2f1

What version of Odin are you using?

Comments (4)

  1. Tor Esa Vestergaard

    Hi Dakota,

    We're currently attending the Unite Europe conference in Amsterdam, and so can't investigate your issue immediately. We'll take a look at it as soon as we get back home, though, and get back to you on what's going on here.

  2. Tor Esa Vestergaard

    We've so far been unable to reproduce this bug. However, the way Odin adds the define symbol may seem like an error. Odin will only check against the define symbols for the current targeted platform. Whenever you switch target platform, Odin will check if the symbol is present on the new platform, and will then add the scripting symbol if it is not there. Is the scripting symbol not defined for your currently active platform? Or have you just not targeted the "missing" platforms yet with Odin installed?

    ( We did it this way because of errors with the way the platform build settings work in Unity; we kept getting errors about invalid and missing platforms when we attempted to set the defines for all available platforms, and so after much fiddling and playing around, in the end we settled on just checking only the currently targeted platform for the symbol, as it was the only way we had of knowing the platform was a valid target for configuration. )

  3. Tor Esa Vestergaard

    I'm going to mark this resolved, as it seems more like a misunderstanding of how things work, rather than a bug.

  4. Log in to comment