Skip to main content
The Gleap SDK for Unity is the easiest way to integrate Gleap into your games and real-time apps. Communicate with your users directly and build better software by discovering their everyday pain points. Gleap is your all-in-one customer feedback tool for apps and websites. For the SDK to work, you need an API key, which you can get for free at app.gleap.io.

Supported platforms

Beta. The Gleap C# SDK is published as a pre-release (0.1.0-beta.1). Expect the odd change before the stable 1.0 release.

๐Ÿ— Installation

The Unity binding ships as the UPM package com.gleap.sdk (it reuses the shared Gleap.Core engine, whose DLLs are bundled under Runtime/Plugins/). Unity supplies persistence (PlayerPrefs), device metadata (SystemInfo) and console-log capture; you supply a WebView channel that renders the widget.

Requirements

Add the package

In Unity open Package Manager โ†’ Add package from git URLโ€ฆ and enter:
Gleap.Core.dll and its dependencies are bundled under Runtime/Plugins/. If Unity reports duplicate framework facades on import, delete those specific DLLs and keep Gleap.Core.dll, System.Text.Json.dll, System.Text.Encodings.Web.dll, Microsoft.Bcl.AsyncInterfaces.dll and System.IO.Pipelines.dll.

Configure the SDK

Bring your own WebView, route its pageโ†’native messages into a GleapUnityWebViewChannel, then attach Gleap:
Once attached, drive Gleap from anywhere via the stable static facade (Gleap.StartConversation(), Gleap.TrackEvent(...), โ€ฆ). Congratulations ๐ŸŽ‰ You are all set ๐Ÿ‘‹

Platform notes

  • Unity has no built-in WebView โ€” use GleapUnityWebViewChannel together with a commercial WebView plugin on Standalone/Mobile.
  • On WebGL, the widget frame is a cross-origin iframe you cannot inject into โ€” front the existing Gleap JavaScript SDK from a .jslib instead of this managed channel.
  • The default Newtonsoft serializer is IL2CPP-safe; a link.xml protects the Gleap DTOs from AOT stripping.

๐Ÿค Need help?

We are here to help! hello@gleap.io