Why does a simple game run really slow on a decent computer?

I just finished a really simple game, and sent it to somebody for testing. He said the game is lagging is terribly slow.
He’s got a recent Macbook pro, I packaged the game on a mac mini that I only use to create the mac versions of my games, as it doesn’t have the recommended minimum requirements to run enreal engine smoothly.
I built my game on a windows pc, where everything is ok.

Btw, I already packaged a game on that mac mini, a much more complex game, with stronger needs, and that ran smoothly on other Macs.

My target hardware settings are set to scalable 2D/3D.

What should I do to make the shipped game run smoothly on macs?

(it is really a simple 2D game, that should even run on 20 year old machines :slight_smile: )

Can anyone help me please? I still couldn’t find any solution.

I guess the default settings of UE4 are way to high for a Macbook Pro (default is maxed out, and I mean like Battlefield 4 maxed to have a scale) for a Mac Pro, which is expensive but not a really strong gaming machine if you did not invest like 5k.

Try to integrate this https://forums.oculus.com/viewtopic.php?t=12486

I am not sure if this plugin works with the latest engine version. If not you can check out the docs and try to lower the scalability settings yourself Scalability Reference for Unreal Engine | Unreal Engine 5.2 Documentation

I tried with lowest settings, but the game still lags. What is strange is that this game is so simple that it should run flawlessly on a 20-30 year old machine.

It’s a 2D game with 3 sprites on screen, an that’s all.

What else could I try?

And you don’t do any expensive things in an Tick event which would drag down the frame rate?

Actually, it’s maybe not really surprising, the macbook has not a strong GPU (as mentioned in a similar question on the forum). And also here on AnswerHub.

All I do in Tick event is make one of the sprites follow the mouse.

I also have a projectile movement on another sprite (I don’t know if that’s expensive or not).

There is not enough information here for much practical help, have you tried profiling it, typing stat unit into the console is a good start

Yeah, but this type of game should even run on a 4k Atari or a Commodore 64, it’s that simple. Or does Unreal Engine use complex processes even on simple games?

I’m not sure if I did the right thing, as I’m doing profiling for the first time, but I run an Automation in the Session Frontend an the Blueprints bar was Red, so I checked what took the longest time, and it was RenderToTexture(3-7 seconds).
I also checked with stat unit ,a and Draw took little time, but Game, GPU, Frame took a lot(average around 300-400 ms)

Is this enough information, or should I check other things aswell?

Still can’t see the solution, can anyone please help me?

It might be Motion Blur
To turn it off:
Edit->Project Settings->Rendering->Untick Motion Blur(under the Default Postprocessing Settings)