The GitLab endpoint creates an issue in one of your GitLab projects for every report. Screenshots are uploaded to the project and embedded directly in the issue description. It works both with GitLab.com and with self-hosted GitLab instances.
Note: This endpoint does not work in WebGL builds due to browser platform restrictions. Also note that the credentials you enter here are saved in your game build – for security reasons we suggest removing them for release builds.
🔌 Base URL & Project ID
- Base URL: Use
https://gitlab.comfor projects hosted on GitLab.com, or the URL of your own self-hosted instance. - Project ID: The numeric ID shown on your project’s overview page (for example
12345678). You can also use the URL-encodedgroup/projectpath.
🔒 Access Token
Create a personal or project access token with the api scope:
- Log in to GitLab and open your access token settings (for a project token, go to the project’s Settings > Access Tokens).
- Create a new token and grant it the
apiscope. - Generate the token and copy it securely – GitLab only shows it once.
✍️ Input in Unity
- In Unity, open your Debug System settings (Window > Sparrow > Debug System).
- Go to the “Where to send reports?” section
- Select “GitLab”
- In the Inspector window, you will see fields for “Base URL”, “Project ID” and “Access Token”.
- Enter your details into the respective fields.
- Create a Test Report
