Hi everyone,
I’m encountering an issue with my car game where the headlights (spotlights) are correctly aligned in the Unity Editor, but when I build and run the game, they appear slightly shifted downward.
Here’s what I’ve done so far to try and fix it:
- Verified the headlights’ local position and rotation relative to the car.
- Made sure the transform values are applied and saved in the prefab.
- Checked the spotlight settings (range, angle, intensity) to ensure they match between the editor and the build.
- Verified that the quality settings for both editor and build are consistent.
- Rebuilt the game in both development and release modes, but the issue persists.
Has anyone else experienced this or have any suggestions on how I can ensure the headlights stay aligned properly in the final build?
Additional Details:
- Unity Version:
2022.3.41f1
- Target Platform: Android
- Spotlights are child objects of the car.
Thanks in advance for any help!
