This page will guide you into integrating MwIssues into your existing project.
The MwIssues server must be installed, or you will not be able to use this extension. To install the server, please consult .
The server is free and open source, you can install it before purchasing the editor extension.
First, import the package in your project.
All the assets and scripts are located in the MwIssues
folder. It is not recommended to move this folder. If you really want to move it, please update the MwIssues/Editor/ConfigEditor
script with the new base path.
Once you have imported the extension, open the following asset in your Inspector.
Assets/MwIssues/Config.asset
While the project settings are shared to everyone using the project, the user settings are saved locally, please read the User settings guide for more informations.
Enter the URL of your server in the Server Host
field, and hit the Reload
button to make sure the changes are registered.
In order to test your configuration, you should also enter a valid user name and API key.
Now, you can open the Issue Manager from Unity's menu bar:
Window > Issue Manager
Press the connect button, and if everything is correctly configured the main interface should appear.
If you get an error message, please consult the Troubleshooting page.
If you want your play tester to be able to report issues from within the game, you have to use the MwIssues/Reporter
prefab.
First, drag and drop it in your scene.
The Reporter script is the main script controlling the behaviour of the reporter.
MwIssues/Config
by default and should not be changed.
User name and API keys can be set using an environment variable, allowing you to have multiple play testers with different report name without having to build a new version of the game for each one.
USERNAME
is Windows' variable for the actual user, and USER
can be used on unix systems.
For testing purposes, we recommend using the Username Override and Apikey Override parameters.
Please note that some platforms, such as Android, do not work well with environment variables. In that case, you should use the Override parameters, they can also be filled programmatically from another script.
By default, MwIssues is using a graphic raycast to check where in the world the user clicked. This raycast uses the depth buffer, and may not work on every platform, in that case the physics raycast is automatically used as a fallback.
This script pauses the game when the reporter is opened by setting the timescale to zero.
This is a very simple script, and you can easily create your own pause system by copying and editing this script.
This script adds automatically to the description of the issue the most common version numbers.
This is also a very simple script, and you can edit it to automatically add any other information to the issues reported.
The reporter interface is a Canvas that can be modified to fit your needs.
For example, if the report button overlap with another UI element, you can move it: Reporter > Canvas > Picker Button
.
In the picture above, the Canvas Scaler
has been configured to work with a small screen.