When I build it, the game changes

I have a big problem, I am making a 2D mobile game, and it has some 2D lights from the URP,
but, when I build it, the lights doesen’t appear.
Also (In the build), the fights in the game are not the same, because in unity it has a 0.5 seconds of attack rate, but when I export it, the attack rate is like 10 seconds.
And in the last, the music does not cordinate with the game and it starts before the scene is loaded.
Thanks for your attention

I have an idea regarding the audio. Consider that loading the scene will be many times faster in the editor, so you simply never noticed that the music starts before the game finished loading the scene. Try playing the music in OnEnable of an object that lives in the scene.

Perhaps the platform you’re developing for does not support the features you’re trying to use in your game. Is the game running smoothly? Or is it choppy? Maybe you’re trying to do more than the system can handle.

The game goes very smooth, and if I try it in another mobile, that is older, and it goes perfectly

Difficult to say. I’m assuming both platforms are of same kind (iOS, or Android, etc…). You could connect profiler to it, it might give you some clues as to what is going on. Maybe create a simple version of the project, a simple scene with single light and pared down graphics. If it’s one specific thing that is causing it you might be able to isolate it that way (ie. remove all lights and turn off music, does the timing of combat get fixed, try different combinations to narrow down if there is a specific thing that makes a difference, etc.).

One other thing, I’m assuming you’re using Time.time in your game for time related actions. This will keep your game running constantly across different devices with different clock rates.