#Strangest bug I've ever seen, anyone have a clue?
10 messages · Page 1 of 1 (latest)
Yeah I can literally trigger the bug by commenting/uncommenting bool DebugMode = false
@marsh cave has reached level 1. GG!
I don't see where you set or create your PtConfig
it's probably a case of uninitialized variable or invalid reference
It's just created as part of the class
struct StudioConfig
{
RenderBackend Backend = ePathTracer;
PtConfig PT = {};
RasterConfig Raster = {};
};
// Within class SceneStudio
StudioConfig m_studioConfig = {};```
PtConfig is passed into the breaking function by const lvalue reference
All variables are initialized, no pointer shenanigans going on
add some debug prints as a sanity check