Using Reflection To Help Disable Domain Reload

I'm currently making a pure DOTS game as an experimental project and I also discovered Editor Iteration Profiler. While the project is still small, I ran this profiler and saw how much time Domain Reload takes. Reload takes 5.7 seconds. I have also run the profiler to our main game project and it showed 18.5 … Continue reading Using Reflection To Help Disable Domain Reload

A Multithreaded Sorting Attempt

In my previous post, NativeArray.SortJob<T>() ended up running slow because it's not being Burst compiled in the PC build. I've discovered that this is a known limitation. Generic jobs that are invoked inside generic methods can't be Burst compiled. A known trick is to "mention" the jobs with concrete types so that the jobs will … Continue reading A Multithreaded Sorting Attempt

NativeArray.SortJob() is fast… or is it?

While I was making a framework of rendering sprites using Compute Buffers, I was thinking of what sorting algorithm to use to sort sprites (say render from top to bottom). I'm using a Burst compiled Quicksort in my mesh based sprite rendering system. This is already good but maybe I could do better. Since Unity … Continue reading NativeArray.SortJob() is fast… or is it?

One Million Sprites. More Than 120fps. DOTS Not Required.

When you lurk in the DOTS forum, you'll see guys like this who made a DOTS library that can render one million animated sprites yet still get 60fps. I have created my own DOTS sprite renderer which is good enough for our game but it can't handle a million. I got curious. So I forked … Continue reading One Million Sprites. More Than 120fps. DOTS Not Required.

Process All Scenes in a Folder

In our game Academia, we employ a multi-scene architecture. We now have hundreds of scenes that are all additively loaded at runtime to compose the whole game. Sometimes, there are fixes or new features that requires changes to all scenes. Imagine doing this manually. Load scene, apply change, save scene. Repeat to hundreds. This is … Continue reading Process All Scenes in a Folder