-
Notifications
You must be signed in to change notification settings - Fork 16
Crash in GADevice::initDeviceManufacturer() and initDeviceModel() #119
Comments
I believe I found a very similar crash around this location as well: |
We are looking at the exact same issue with the latest version for unreal engine 5. |
Thanks for reporting that it's still happening with the latest version. Saves me the trouble of having it crash again during our upcoming playtest for which I'll disable GameAnalytics and then sadly have to migrate to a different solution next thing. |
Also considering migrating away from GameAnalytics because of this issue (UE 4.26). |
I experienced a crash in my application on
GADevice::initDeviceManufacturer()
, but could also happen potentially in initDeviceModel().If classObjectEnumerator->Next() failed, the
classObject->Release();
statement will be executed with unpredictableclassObject
value (as it was not initialized) and then throw an exception 0xC0000005 (Read access error) in following lines:GA-SDK-CPP/source/gameanalytics/GADevice.cpp
Line 518 in 1167ff8
GA-SDK-CPP/source/gameanalytics/GADevice.cpp
Line 411 in 1167ff8
What I would suggest could be something like (for initDeviceModel for example):
In the meantime, I'm investigating why it failed to retrieve 'Manufacturer' property, by asking to end-user for which crash occured to execute following powershell commands:
The text was updated successfully, but these errors were encountered: