Your plugin crashes because the installed plugin is missing Swiftshader DLLs that CEF needs for software rendering.
- Windows Error Report:
Faulting module: libcef.dll, Exception:0x80000003(BREAKPOINT/ASSERTION) - CEF Log:
ContextResult::kFatalFailure: Failed to create shared context - Missing files in installed plugin:
libEGL.dll,libGLESv2.dll,vk_swiftshader.dll,vulkan-1.dll
Run this script as Administrator:
C:\Wingman\COMPLETE-FIX.ps1This copies the missing DLLs to your currently installed plugin. Test immediately - it should work!
# 1. Clean rebuild
cd C:\Wingman
Remove-Item -Recurse -Force build -ErrorAction SilentlyContinue
mkdir build
cd build
# 2. Configure (this will find CEF automatically)
cmake .. -G "Visual Studio 17 2022" -A x64
# 3. Build
cmake --build . --config Release --target Wingman_VST3
# 4. Install
Copy-Item "Wingman_artefacts\Release\VST3\Wingman.vst3" "C:\Program Files\Common Files\VST3\" -Recurse -ForceThe plugin has a working JUCE fallback UI. To use it, edit PluginEditor.cpp line ~210 and keep the cefFallbackMode = true line.
- Your
CMakeLists.txtwas pointing to:C:\Wingman\CEF\cef_binary_...(doesn't exist) - Build completed but without copying CEF DLLs
- Plugin tried to use CEF → Missing Swiftshader → Assertion failure → Crash
- ✅ Found your actual CEF binaries at
C:\CEF\cef_binary_140.1.15... - ✅ Updated
CMakeLists.txtto point to correct location - ✅ CMakeLists already copies ALL required DLLs including Swiftshader
- ✅ Created quick-fix script to patch current installation
- ✅ Your UI changes (3 tabs, settings, theme) are ready in source
- ✅ libcef.dll (main CEF library)
- ✅ chrome_elf.dll (Chrome helper)
- ✅ libEGL.dll (OpenGL ES context)
- ✅ libGLESv2.dll (OpenGL ES renderer)
- ✅ vk_swiftshader.dll (Vulkan software renderer)
- ✅ vulkan-1.dll (Vulkan loader)
- ✅ chrome_100_percent.pak, chrome_200_percent.pak
- ✅ resources.pak
- ✅ icudtl.dat
- ✅ locales/ directory
Without Swiftshader DLLs, CEF cannot create ANY rendering context and hits an assertion.
✅ Plugin loads without crashing
✅ CEF initializes successfully
✅ React UI loads and renders
✅ Your 3-tab interface appears (AI Chat | MIDI History | Settings)
✅ Light/dark theme switching works
✅ No more crashes!
- Run
COMPLETE-FIX.ps1as Administrator - Open your DAW (Ableton)
- Load Wingman plugin
- You should see the React UI with 3 tabs
- No crash after 10 seconds!
Check C:\temp\cef.log and C:\temp\cef_debug.txt for errors. The log will show:
- If CEF initialized: "CefInitialize succeeded"
- If React loaded: "Sidecar UI: Starting React application"
- If OnPaint is called: "OnPaint received: 900x700"
If OnPaint never happens, there may be other issues with the CEF OSR implementation.
- ✅ Test all 3 tabs (AI Chat, MIDI History, Settings)
- ✅ Test theme switching (sun/moon icon in header)
- ✅ Test that settings persist
- ✅ Make any additional UI changes
- ✅ Run
quick-update-ui.ps1to update UI without rebuilding plugin
Problem: Missing Swiftshader DLLs → CEF can't render → Assertion failure → Crash Solution: Copy missing DLLs OR rebuild with correct CEF path Result: Working plugin with React UI rendering via CEF OSR mode
Your CMakeLists.txt is now correct and future builds will include all required files!