I was upgrading some dependencies in one of my Compose projects and I was getting a crash with an error in Logcat that said 'java.lang.IllegalArgumentException: CreationExtras must have a value by
The app would just crash on startup with this. I also use Compose Navigation in the project - I hadn't upgraded that dependency though, I upgraded some other ones. It turns out that this error seems to be a compatibility issue with Compose Navigation and another dependency.
All you need to do to fix this is is upgrade your Navigation version, after this the app won't crash anymore. So in my case I was depending on 2.4.2:
I upgraded to the latest available version(at the time of writing) which was 2.5.2:
And that's all there is to it! It's a pretty simple fix thankfully.