First start of the day of my baked Pixel Streaming project is slower than the next ones. What is happening?

Yes, that’s correct. When the .exe is launched for the first time, it creates cache files and stores them in the C:/User/YourUsername/App Data/Local folder. This process can be CPU-intensive because it involves shader compilation and other initialization tasks. If you’re using G4 or G5 instances, the limited CPU cores may lead to longer load times.

To optimize this, you can pre-bake the cache files in the same C:/User/YourUsername/App Data/Local folder during the creation of the EC2 instance. This eliminates the need for the game to generate the cache during the first launch, giving you a faster startup.

In our case, we switched to Streampixel. Initially, we used AWS, but we found Streampixel to offer better-performing machines at a lower cost.

Hope this helps!