Describe the bug (REQUIRED)
When I try to build my project error appears on the console and the game doesn’t start. With the previous version of the engine, the build process have no problems.
To Reproduce (REQUIRED)
- Click on Project/Build
- This error is shown
/firebase_analytics/src/firebase_analytics.cpp
Line 3: ‘luautils.h’ file not found
#include “luautils.h”
^~~~~~~~~~~~
Expected behaviour (REQUIRED)
The game should start
Defold version (REQUIRED):
Platforms (REQUIRED):
- Platforms: macOS
- OS: High Sierra
Screenshots (OPTIONAL):
Additional context (OPTIONAL):
I am using several extension in the project.
Looks like you’re missing the main Firebase extension.
Thank you, the problem is solved.
You should not depend on the master branch for your extensions. It is always recommended to depend on a specific version to avoid breaking changes such as this one.
Versions to use for Firebase Analytics: Firebase Analytics - #16 by britzl
Now I am using the following versions

Now the game doesn’t crash on start, but crashed when firebase functions are called.
This is the adb log:
The call i am using is this:
In my previous version, this code was working without problems…
Any help is welcome.
Greetings
You now also need to call firebase.analytics.init(). This could be the reason for the crash. Can you confirm this? I’ll create a fix so it doesn’t crash if you do not call init.
I forgot to call firebase.analytics.init(). Now the game is working again. Thanks for the help.
Greetings
We have released an update to the extension where we make sure analytics has been initialized before it used.
(Same fix applied to Firebase Remote Config as well)