Describe the bug
when i using xcode building the lumos editor project. I received the exception of xcode debugger at 'VKDescriptorSet' class. It seemed engine trying to run a function named 'GetDescriptorInfo'. I see that the object 'm_Shader' is nullptr. So i think maybe it's a bug about resource loading.
m_Shader = descriptorDesc.shader;
m_Descriptors = m_Shader->GetDescriptorInfo(descriptorDesc.layoutIndex); //<- At here, the bug happend
for(auto& descriptor : m_Descriptors.descriptors)
{
`
Screenshots
Desktop (please complete the following information):
OS: MacOS 14.2.1
Device: MacBook Air M1 2020
Additional context
Also i see, your release builing at the repo has some error at the eidtor file of mac arm build. It only has 300k file size and can't be unzip.
Describe the bug when i using xcode building the lumos editor project. I received the exception of xcode debugger at 'VKDescriptorSet' class. It seemed engine trying to run a function named 'GetDescriptorInfo'. I see that the object 'm_Shader' is nullptr. So i think maybe it's a bug about resource loading.
To Reproduce Steps to reproduce the behavior:
Expected behavior Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) ` namespace Graphics { uint32_t g_DescriptorSetCount = 0; VKDescriptorSet::VKDescriptorSet(const DescriptorDesc& descriptorDesc) { LUMOS_PROFILE_FUNCTION(); m_FramesInFlight = uint32_t(VKRenderer::GetMainSwapChain()->GetSwapChainBufferCount());
`
Screenshots
Desktop (please complete the following information):
Additional context Also i see, your release builing at the repo has some error at the eidtor file of mac arm build. It only has 300k file size and can't be unzip.