Frequently Asked Questions

It Says Unsupported Version?

If the EMI window says you have an unsupported version of invector, pretty straight forward... you have an unsupported version of invector setup in your project. That window will also explain what version of invector you need to install to have a supported version running. You will either need to start a fresh project or upgrade your existing project to the supported version.

Can I Convert Unsupported Invector Version?

You can convert an unsupported version of invector but it will more than likely lead to errors in your console after conversion. It will be required that you need to manually fix these yourself. Please don't do this unless you are an advanced coder.

I Get Errors In Console After Clicking "Import Packages"

If you are running a supported version of invector there is a high chance you're running with a untested version of mirror. When I build this project I don't upgrade with every mirror release. That is simply unfeasable with my time constraints. Look at the Mirror version that was last tested with this project by reading the version information in the following file:

Assets/CBGames/EasyMultiplayer-Invector/Basic Locomotion/Editor/MIRROR_VERSION.txt

That will tell you the exact version of Mirror you should be running in your project to not have any issues.

I Want To Add My Own Code To Your Functions

I make all of my functions override or virtual. That means you can override any one of my functions with your own custom logic. Read C# documentation (from Unity tutorial or other sources) about how to properly override virtual functions. There are also a lot of great youtube tutorials.

Never, and I mean this, never just add your own code to my functions. Everytime an update comes out and you import it into your project it WILL overwrite all of your work. Use overrides, period.

I Imported The Newest EMI Packages But Bugs Are Not Resolved

(NOTE: This is explained in great detail in the upgrades page) If you imported the EMI unity package, that isn't enough. That will not actually import any of the project files. You will need to (depending on the length between updates), re-convert the invector scripts, and import the Contents.unitypackage. If you don't need to re-convert the invector scripts (This is true if going from a patch version to patch version) then you need to open the EMI window and click the "Import Packages".

You can manually import the Contents.unitypackage into your project by finding the highest tier version and importing it into your project:

Assets/CBGames/EasyMultiplayer-Invector/Basic Locomotion/Editor/Contents.unitypackage
Assets/CBGames/EasyMultiplayer-Invector/Melee Combat/Editor/Contents.unitypackage
Assets/CBGames/EasyMultiplayer-Invector/Shooter/Editor/Contents.unitypackage

Clicked "Convert Invector Scripts" But Can't Advance

Sometimes if you have done things just right Unity will not properly recognize that the scripts have already been compiled after properly clicking out of unity and back into it. You can modify all of the following files to say true instead of false:

Assets/CBGames/EasyMultiplayer-Invector/Basic Locomotion/Editor/ScriptsConverted.txt
Assets/CBGames/EasyMultiplayer-Invector/Melee Combat/Editor/ScriptsConverted.txt
Assets/CBGames/EasyMultiplayer-Invector/Melee Combat/Editor/ScriptsConverted.txt

That should tell the EMI window the next time you open it up that the scripts have been recompiled and converted properly.

The "Import Packages" button doesn't show up

If you have already tried the Clicked "Convert Invector Scripts" But Can't Advance question then you can manually make the following files:

Assets/CBGames/EasyMultiplayer-Invector/Basic Locomotion/Editor/Imported.txt
Assets/CBGames/EasyMultiplayer-Invector/Melee Combat/Editor/Imported.txt
Assets/CBGames/EasyMultiplayer-Invector/Shooter/Editor/ScriptsConverted.txt

All these files should simply include the text called false. The next time you open the EMI window the Import Packages button should be available.

The Start Server+Client Button Doesn't Work In My Client Build

If the server isn't properly starting on a client build that most likely means you have NOT enabled "Hosted Mode". To enable this it's easy. Open the following window:

Easy Multiplayer - Invector/Open Settings Window

This window will tell you if you have Hosted Mode enabled or not. Simply click the enable hosted mode and that's it! Now rebuild your client and try again.