I forgot some calls to profiler.scope_begin/profiler.scope_end in the code for a release bundle and things started behaving really strange. The factories weren’t working unleas they were collection factories, but still, only some of the collection factories worked, and depending if I was creating in init or update etc. etc. So really strange and hard to debug problems.
I know the documentation says that the release variant doesn’t contain the profiler but is this behaviour expected or is it an issue?
Also, could we get a warning when we use functionality that’s not available in the release variant?