The Performance Updates

From Resonite Wiki
Revision as of 11:59, 11 June 2025 by Nytra (talk | contribs) (Rewrite more)

The performance updates are a series of updates in response to Issue 706.

The Issue

The main goal of the performance updates is to separate FrooxEngine from Unity so that FrooxEngine can benefit from a faster runtime in .NET 9+.

Prior to separation, if Unity crashes it takes down FrooxEngine with it. Another problem is that Unity uses a slower runtime called Mono which reduces the performance of FrooxEngine considerably, as it runs FrooxEngine in a MonoBehavior (Unity component).

The Solution

Frooxius has devised a series of updates separated into different parts. Each stage brings more systems from Unity into FrooxEngine. These are pre-requisites for the separation.

The major steps:

These updates change core components of the engine, and allow it to work entirely standalone without relying on Unity.

The engines will be separated into different processes and communicate via a shared memory file.

Resources