bombomby / optick

C++ Profiler For Games

Home Page:https://optick.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optick AddChuck crash

androbytes opened this issue · 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();
	}
);