Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 2.08 KB

File metadata and controls

56 lines (42 loc) · 2.08 KB

IMMEDIATE FIX - Working Plugin Without CEF

What's Happening

Your plugin crashes because CEF (Chromium Embedded Framework) is failing to initialize properly. The debug log shows it's trying to schedule CEF initialization, but then crashes.

Quick Fix: Use the Working Binary

Your currently installed plugin HAS a working fallback UI built into it! We just need to tell it CEF failed so it uses the fallback.

Option 1: Wait for CEF Timeout (Simplest)

The plugin actually has fallback UI code. Just wait ~15 seconds after opening it. It should show a basic JUCE interface instead of crashing.

Option 2: Use Pre-CEF Build

If you have an older build of the plugin from before CEF was added, use that.

Option 3: Manual Build in Visual Studio

  1. Open Visual Studio 2022
  2. Open the solution file: C:\Wingman\Wingman.sln (if it exists)
  3. Or create it:
cd C:\Wingman
mkdir build_manual
cd build_manual  
cmake .. -G "Visual Studio 17 2022" -A x64
  1. Open Wingman.sln in Visual Studio
  2. Right-click Wingman_VST3 project → Properties
  3. C/C++ → Preprocessor → Preprocessor Definitions
  4. Change CEF_AVAILABLE=1 to CEF_AVAILABLE=0
  5. Build → Build Wingman_VST3
  6. Copy: build_manual\Wingman_artefacts\Release\VST3\Wingman.vst3 to C:\Program Files\Common Files\VST3\

Root Cause

The crash is happening because:

  1. CEF requires specific initialization order
  2. OSR (Off-Screen Rendering) mode needs the handler to persist
  3. CEF DLLs might not be delay-loaded properly
  4. DAW security restrictions might block CEF's subprocess

Long-term Solution

We need to either:

  1. Fix CEF initialization (complex, requires debugging)
  2. Use JUCE's built-in WebView instead of CEF (simpler, less features)
  3. Use a native JUCE UI instead of React (most stable)

Immediate Next Step

Let me know if you want:

  • A: Help building in Visual Studio manually
  • B: A completely native JUCE UI (no CEF/React)
  • C: Debug the CEF crash properly

For now, your UI changes ARE applied to the files, they're just not rendering because the plugin crashes before showing them.