What is enhanced code intelligence?

Enhanced code intelligence provides advanced code editing capabilities for your Unity project, inside Bezi. This currently includes improved refactoring and compilation error assistance. This guide covers the prerequisites and setup required to enable enhanced code intelligence.

Prerequisites

To enable enhanced code intelligence, your project must meet two core requirements:

1) Project naming convention

Your Unity project name must match its corresponding .sln file:
  • The .sln file must be located at the project root (adjacent to the Assets folder)
  • The filename must exactly match your project name
Example:
My-Unity-Project/
├── Assets/
├── Library/
├── ProjectSettings/
└── My-Unity-Project.sln ← Must match project name

2) .NET SDK installation

You must have the .NET SDK installed globally on your system. This lets Bezi develop a deeper understanding of the code. Default installation locations:
  • macOS (Intel): /usr/local/share/dotnet/x64/dotnet
  • macOS (Apple Silicon): /usr/local/share/dotnet
  • Windows: C:\Program Files\dotnet
Setup steps:
  1. Download and install the appropriate .NET SDK for your Unity version
  2. Close out of, then relaunch the Bezi app
  3. Navigate to the bottom right, the enhanced code intelligence UI should be set to active

Status indicators

The enhanced code intelligence service will display different states to indicate its current status

Troubleshooting

Solution file not found

  1. Check that your .sln file exists at the project root
  2. Verify the filename matches your project name exactly (case-sensitive)
  3. If missing, open your project in Unity to regenerate the solution file

.NET SDK issues

  1. Confirm installation: dotnet --version
  2. Ensure the SDK version is compatible with your Unity version
  3. Restart Bezi after installing the SDK
  4. Check that the SDK is properly added to your system PATH

Service won’t initialize

  1. Verify both prerequisites are met
  2. Try closing and reopening your project
  3. Check for any error messages in the status indicator
  4. If issues persist, reach out on Discord with your project details
If you have any unanswered questions or need additional support, visit our Discord server