Closed Lessyzz closed 5 months ago
My Own Game
When I run this code The game crashes when the GetName function runs any idea?
No response
Unity::il2cppArray<Unity::CGameObject*>* m_pObjects = Unity::Object::FindObjectsOfType<Unity::CGameObject>(UNITY_GAMEOBJECT_CLASS); for (uintptr_t u = 0U; m_pObjects->m_uMaxLength > u; ++u) { Unity::CGameObject* m_pObject = m_pObjects->m_pValues[u]; if (!m_pObject) continue; cout << m_pObject->GetName(); }
https://github.com/sneakyevil/IL2CPP_Resolver/issues/48#issuecomment-2119261191
closed for duplicate, please talk on #48
What is the game you are using with IL2CPP Resolver?
My Own Game
Details:
When I run this code The game crashes when the GetName function runs any idea?
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code: