bombomby/optick

Optick AddChuck crash

androbytes opened this issue · 0 comments

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();
	}
);