bombomby/optick

OPTICK_FRAME causes Access violation executing location error while binding socket

Pikachuxxxx opened this issue · 0 comments

I've used optick in the past and it still works with all my other projects, when I tried to integrate it into my engine as a static library it crashed when I use OPTICK_FRAME looks like it cannot bind the socket.

if (::bind(listenSocket, (sockaddr *)&address, sizeof(address)) == 0)
{
return true;

In my other projects I compile optick and my vulkan abstractions as a single static library and they work but my engine is a dll which uses optics as a static lib and it crashes while trying to call the winsockets bind.

============================================================

OS : Windows 10 Home
Processor : Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz
Vulkan API Version : 1.3.194
GPU Name : NVIDIA GeForce RTX 2060
Vendor ID : 4318
Device Type : DISCRETE GPU
Driver Version : 511.316.0
OS Build : 22000.675