shichao Posted December 9, 2019 Share Posted December 9, 2019 D3D11AppWall::destroy_context(): 237 unreleased references how to release all the references? Link to comment
morbid Posted December 9, 2019 Share Posted December 9, 2019 Hello @shichao, What exactly you're trying to do and how to reproduce this error? Thank you. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
shichao Posted December 9, 2019 Author Share Posted December 9, 2019 add this -data_path "$(ProjectDir)../../../../../data" -data_path "$(ProjectDir)../../data" -data_path "$(ProjectDir)/data" -extern_plugin AppWall in any sample in c++ sdk and in D3D11AppWall::destroy_context() will produce this error Link to comment
morbid Posted December 9, 2019 Share Posted December 9, 2019 Thank you, I've reproduced this crash. We need some time for investigation. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
shichao Posted December 10, 2019 Author Share Posted December 10, 2019 hi @morbid here is the dx11 log i use the code below #if defined(DEBUG) || defined(_DEBUG) ID3D11Debug* d3dDebug; HRESULT hr = device->QueryInterface(__uuidof(ID3D11Debug), reinterpret_cast<void**>(&d3dDebug)); if (SUCCEEDED(hr)) { hr = d3dDebug->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL); } if (d3dDebug != nullptr) d3dDebug->Release(); #endif UINT num = device->Release(); if (num != 0) Log::error("D3D11AppWall::destroy_context(): %d unreleased references\n", num); device = NULL; dx11_log.txt Link to comment
Recommended Posts