SDK Feature Comparison
Compare features and development status across PlayKit SDKs
SDK Feature Comparison
PlayKit provides SDKs for multiple game engines. This page lists the development status and feature support for each SDK to help you choose the best one for your project.
SDK Development Status Overview
| SDK Version | Development Status | Recommendation |
|---|---|---|
| Unity SDK | π’ Beta (v0.1.7.3-beta) | β Recommended for production |
| Javascript SDK | π‘ Alpha (v1.0.0-beta.1) | β οΈ Testing only |
| Godot SDK | π΄ In Development | β Not yet released |
| Unreal SDK | π΄ In Development | β Not yet released |
Version Status:
- Beta: Features mostly complete, minor API changes possible, suitable for production use
- Alpha: Core features available but incomplete, may have bugs, testing and experimentation only
- In Development: Not yet released, features under active development
Detailed Feature Comparison
Basic Features
All SDKs support the following basic features:
- β SDK initialization and configuration
- β Developer token authentication
- β Error handling and logging
- β Async API support
Text Generation
Text-to-Text
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| Basic chat | β | β | π | π |
| Multi-turn conversation | β | β | π | π |
| Streaming responses | β | β | π | π |
| Temperature control | β | β | π | π |
| Model selection | β | β | π | π |
| System prompts | β | β | π | π |
| Token usage stats | β | β | π | π |
Both Unity SDK and JavaScript SDK provide complete text generation support, including basic chat, streaming, and advanced configuration options.
Multimodal Input
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| Text input | β | β | π | π |
| Image input (Vision) | π | π | π | π |
| Audio input (Speech-to-Text) | β | π | π | π |
| Video input | π | π | π | π |
Multimodal Output
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| Text output | β | β | π | π |
| Image output (see Image Generation) | β | β | π | π |
| Audio output (TTS) | π | π | π | π |
| Video output | π | π | π | π |
Structured Output
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| JSON Schema definition | β | β οΈ | π | π |
| Type-safe output | β | β | π | π |
| Auto JSON parsing | β | β | π | π |
| Generic type support | β | β | π | π |
Unity SDK provides complete JSON Schema support with ScriptableObject-based schema management. JavaScript SDK supports structured output with server-side schema validation.
Image Generation
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| Text-to-image | β | β | π | π |
| Batch generation (1-10 images) | β | β | π | π |
| Multiple sizes | β | β | π | π |
| Seed control | β | β | π | π |
| Base64 output | β | β | π | π |
| Direct game asset conversion | β | β | π | π |
| Image editing | π | π | π | π |
| Image variations | π | π | π | π |
Unity SDK Features:
- Direct conversion to
Texture2DandSprite - Supported sizes: 256x256, 512x512, 1024x1024, 1792x1024, 1024x1792
- Quality and style options
JavaScript SDK Features:
toDataURL()andtoHTMLImage()methods- All standard image sizes supported
- Complete generation metadata (including revised prompts)
Runtime 3D Generation
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| Text-to-3D models | π | π | π | π |
| Model optimization | π | π | π | π |
| Material generation | π | π | π | π |
| Animation generation | π | π | π | π |
3D generation features are on the roadmap and expected to launch first in Unity SDK. See the Roadmap for updates.
Speech Features
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| Speech-to-text (Whisper) | β | π | π | π |
| Built-in microphone recording | β | π | π | π |
| Voice Activity Detection (VAD) | β | π | π | π |
| Silence detection | β | π | π | π |
| Multi-language support | β | π | π | π |
| Timestamps and segments | β | π | π | π |
| Text-to-speech (TTS) | π | π | π | π |
Unity SDK provides a complete speech recognition solution:
- Supports
AudioClipand raw audio transcription - Built-in microphone recorder (
PlayKit_MicrophoneRecorder) - Real-time voice activity detection and volume monitoring
- Voice integration with NPC system (
NPCClient_VoiceModule)
Unity SDK's speech recognition is fully functional, supporting the complete workflow from recording to transcription to NPC conversation.
Authentication & Player Management
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| JWT token exchange | β | β | π | π |
| Developer token | β | β | π | π |
| Token persistence | β | β | π | π |
| Encrypted token storage | β οΈ | β | π | π |
| Player info query | β | β | π | π |
| Credit balance query | β | β | π | π |
| Cross-game token sharing | β | β | π | π |
Unity SDK Features:
- PlayerPrefs persistent storage
- Cross-game token sharing (multiple games from same developer)
- Automatic token expiration checking
JavaScript SDK Features:
- AES-128-GCM encrypted storage (using Web Crypto API)
- localStorage persistence
- Automatic expiration validation
- Event-driven authentication state management
Cross-game token sharing is a unique Unity SDK feature, allowing different games from the same developer on the same device to share player tokens.
NPC Conversation System
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| NPC conversation | β | β | π | π |
| System prompts (personality) | β | β | π | π |
| Automatic history management | β | β | π | π |
| History length limits | β | β | π | π |
| Streaming conversation | β | β | π | π |
| Structured conversation output | β | β | π | π |
| Save/load history | β | β | π | π |
| Revert to history point | β | β | π | π |
| Voice integration | β | π | π | π |
Unity NPC System Features (PlayKit_NPCClient):
- Automatic conversation history management with intelligent trimming
- Voice input conversation support (
NPCClient_VoiceModule) - Structured conversation based on JSON Schema
- Complete save/load/undo functionality
JavaScript NPC System Features (NPCClient):
- Automatic history management with configurable max length
- Event-driven architecture (response, history change events)
- History serialization/deserialization (JSON)
- Streaming and non-streaming conversation support
Both Unity and JavaScript SDKs provide fully-featured NPC systems that greatly simplify game character conversation implementation.
Steamworks Integration
| Feature | Unity | Javascript | Godot | Unreal |
|---|---|---|---|---|
| Steam login | π | β | π | π |
| Steam user binding | π | β | π | π |
| Steam payment integration | π | β | π | π |
Steamworks integration is currently in the planning phase and not yet implemented in any SDK.
Legend
| Icon | Meaning |
|---|---|
| β | Fully Supported - Feature implemented and stable |
| β οΈ | Supported, Testing - Feature available but may be unstable |
| π | In Development - Feature under active development |
| π | Planned - Feature on the roadmap |
| β | Not Supported - No plans to support this feature |
SDK Selection Guide
Choose Unity SDK if you:
β Recommended for Production
- Are developing Unity games (2020.3+)
- Need complete AI feature support (text, image, speech, NPC)
- Need structured output and type-safe APIs
- Need speech recognition and NPC voice interaction
- Want the most mature and stable PlayKit SDK
Unity SDK is the most feature-complete SDK, has reached Beta quality, and is suitable for production use.
Choose JavaScript SDK if you:
β οΈ Suitable for Testing and Prototyping
- Are developing web or H5 games
- Need AI in browser environments
- Need text generation, image generation, and NPC conversation
- Can accept Alpha quality (core features available but may be unstable)
- Are willing to help test and provide feedback
JavaScript SDK core features are implemented, but it's still in Alpha. Recommended to use in test environments first.
Godot and Unreal SDKs:
π In Development, Not Yet Released
- Godot and Unreal SDKs are under development
- If you need PlayKit in these engines, follow the Roadmap for updates
- Consider prototyping with Unity SDK first
Recommendations:
- Production: Strongly recommend Unity SDK (Beta, feature-complete and stable)
- Web Games: Try JavaScript SDK (Alpha, core features available)
- Other Engines: Wait for Godot/Unreal SDK release, or prototype with Unity first
Version Update Plans
We continuously improve all SDKs. Check the Roadmap for future features and release timelines.
Feedback and Suggestions
If you encounter issues or have feature requests while using the SDKs, please contact us through:
- Submit a GitHub Issue
- Join our developer community
- Email technical support
Your feedback is invaluable in helping us improve the SDKs!