When running my game on device, I see the following warning in the debug log:
The ParticleSystem uses a gravityModifier, but the Physics Module is stripped, so using a default value of 9.81m/sec/sec for gravity. Disable stripping in Player Settings to fix this.
(Filename: ./Modules/ParticleSystem/Modules/InitialModule.cpp Line: 58)
I've already a solution in place for preventing other Unity classes from being stripped (different types of colliders). However, I don't know what "Physics Module" this is referring to, so I don't know how to solve the problem.
- I don't want to disable stripping - it's a good thing. I just want to prevent this specific module from being stripped, which I usually do by specifically interacting with it in a startup scene (as I've done to solve the other problems).
- I don't see any Physics module on a Particle System.
- I tried including a particle system with all modules enabled in the startup scene, but the "Physics Module" is still being stripped.
- I searched this error online and didn't find anything useful.
How can I prevent this from being stripped, so my gravity modifications can work fine? ????