bombomby / optick

C++ Profiler For Games
https://optick.dev
MIT License
2.95k stars 296 forks source link

Optick AddChuck crash #188

Closed androbytes closed 1 year ago

androbytes commented 1 year ago

I am using optick for my vulkan engine to see how fast it is but when i stop recording optick events it crashes saying this->chunk was 0xFFFFFFFFFFFF9FFF. It crashes here:

OPTICK_GPU_EVENT("Draw");

I am also using std::async like this:

auto renderThread = std::async(std::launch::async,
    [=] {
        OPTICK_THREAD("Render Async");
        Vulkan.Draw();
        ImGui.Draw();
        Vulkan.EndDraw();
    }
);