I’m developing for GearVR and using the Galaxy Note4. After the build is complete successfully and the game is running on the android (wating to be put on the GearVR), the editor completely freezes. After some investigations it looks like there’s something happening on some kind of system lock on the main thread of the editor.
The debugger shows the running stopped at line 197 in file:
Unreal Engine\4.7\Engine\Source\Runtime\Core\Private\Windows\ TextStoreACP.cpp
*phrSession = AdviseSinkObject.TextStoreACPSink->OnLockGranted(LockManager.LockType);
Just to be clear, the editor freezes on the machine from which you are deploying? Does this prevent the apk from making it to the device?
Can you tell me if you are running source or binary build of the editor? How are you deploying the apk to the device?
Also,could you attach the output logs for the successful build and the logcat logs for the crash (if it’s a device crash) to this thread as txt files? If it is the editor on your machine that crashes, can you attach crash logs to this thread? Here is where you can find the crash logs.
Thanks very much!
Hi wittlief, I’m using 4.7.5 binary version (but also happened on 4.7.4), the project is a mobile C++ project so I launched from Visual Studio under Development Editor configuration. After hitting the Launch button on the toolbar the editor compiles, installs and runs the application on the Android device. On the device the application works. On the desktop (from which I build) the editor freezes without crashing, so no error messages are available. After waiting a while I decided to break the process in Visual Studio and all the time this happened the Main Thread was sitting on that line of code. I guess is some kind of race condition that causes the deadlock of the Editor.
This happened at least four times in a few days, (not always luckily).
I created a Third Person C++ project and used the Launch button to package it to a Note4. There was no pause/freeze in the editor after the packaging finished. Does the editor only freeze on your current project or are you able to package a new project with no additional content without any problems?
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
It looks ok so far, it’s not happening anymore. Thanks for the support.
I am experiencing the same issue.
The editor freezes after successful deployment on Android device (OnePlus One). I have to kill it from task manager and restart every time.
I am running unmodified 4.7.6.
How are you deploying the apk to the device? Does this prevent the apk from making it to the device? Are you running source or binary version of the 4.7.6 editor? Can you check this location to see if you have editor crash logs, and if so can you attach them to this thread?