Bundling "release" mode creates problem with GUI (SOLVED)

Differences between debug and release builds (we should document this) are:

  • Profiler is disabled
  • Print/log statements are suppressed
  • Reverse hash lookups are not performed
    • What this means is that if you do print(hash("foobar")) or tostring(hash("foobar")) you get something like hash: [10621420976831182651 (unknown)] in a release build while in a debug build the has is resolved back to its textual representation, eg hash:[foobar].

If you are relying on the reverse hash lookups it may explain why things behave differently in a release build.

1 Like