Easy Ollama Plugin and Samples for Unity
This is a scene setup guide for running QuickStart in the Unity Editor.
This document explains how to create a scene using QuickStart.
This is a test that communicates with a real Ollama server and runs an LLM.
ollama serve)ollama pull mistral)Assets/EasyLocalLLM/Samples/Scenes/ → Create → Scene → SceneQuickStartScene.unityQuickStartManagerQuickStartQuickStart runs the following five steps:
| Step | Description | Expected Output |
|---|---|---|
| 1 | Initialize OllamaClient | ✓ Client initialized |
| 2 | Send a simple message | ✓ Response received: ... |
| 3 | Follow-up with session history | ✓ Follow-up response: ... |
| 4 | Streaming feature test | ✓ Streaming completed! |
| 5 | Tool usage feature test | ✓ Tool call passed! |
Cause: Ollama server is not running
Solution:
ollama serve
Cause: The specified model has not been downloaded
Solution:
ollama pull mistral
Cause: Server response is slow
Solution:
HttpTimeoutSeconds
config.HttpTimeoutSeconds = 60; // Default: 30
Cause: Incorrect Scripting Backend configuration
Solution:
Debug.Log is enabledSimpleChat / LateralThinkingQuiz to learn how to use it in an actual game