Strix Menu

Importing Strix Unity SDK into your Unity project adds Strix menu in Unity Editor’s menu bar.

Strix menu in Unity menu bar

The Strix menu is for advanced use cases, and you usually don’t need it.

The Strix menu contains the following functions:

Automatic Prefab Scanning

When you enter Play Mode in the Editor, Strix Unity SDK scans your assets for replicated prefabs. It may take some long time if you have a lot of assets in your project.

This menu item enables or disables the automatic scanning behavior.

  • If enabled, the scanning for prefabs is automatically executed when you enter Play Mode. This is the default behavior.

  • If disabled, the automatic scanning is omitted. It will reduce the time to enter Play Mode if your project has a lot of replicated prefabs.

You need to scan prefabs manually before entering Play Mode if you have disabled Automatic Prefab Scanning and added replicated objects to your project.

Scan Prefabs Manually

This menu item lets Strix Unity SDK scan prefabs in your project.

You need to scan prefabs manually before entering Play Mode if you have disabled Automatic Prefab Scanning and added replicated objects to your project.

Also, if your team manages your Unity project using a version control system such as Plastic SCM or git, you will need to scan your prefabs manually after the version control may have added or removed some replicated prefabs.

Note

Strix Unity SDK requires a table containing all replicated objects. The prefab scanning updates the internal table maintained by the SDK by examining all prefabs in the project.

Regardless of the setting of Automatic Prefab Scanning, Strix Unity SDK tries to update the table appropriately whenever the user performs an operation in the Unity Editor such as attaching StrixReplicator to a GameObject. Even if you have disabled the Automatic Prefab Scanning and added replicated prefabs without the manual scanning, no problem arises in most cases. Moreover, if any problem would occur due to a wrong table, the most likely impact occurs only when a replica from another client is replicated in the scene (and only in rare cases you could see a replica from another client in Play Mode). So, you usually don’t need to worry about the manual scanning when you enter the Play Mode.

However, there are still chances that make the table out of sync in a visible way. When you are using Strix Unity SDK with Automatic Prefab Scanning disabled, if you experience any strange behavior in Play Mode, please stop the Play Mode, use Scan Prefabs Manually, and try again.