Search in

Sort by:

Everything Packaging & Deployment

Current Space

Question Status:

All Questions With Answer With Accepted Answer

Quick results

Search help

Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both.
Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.

You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with
each other. Examples

ActorChannelFailure while debug use Nsight Tegra

0

Hello,

I' m trying to use NVidia Nsight Tegra (ver. 3.3.16047.9615) to debug my multi-player game. But I got a ActorChannelFailure message from server's log. I already search for solution about the question. (ex: Dedicated Linux Server). But it seems no use for my situation. Because I already rebuild the server and client in many times. The failure is still exist. On the other side, the client of win64 version works well. That's weird. Is anyone could give me some suggestion or information?

Can you provide the full error message from the logs? Do you get the same error if you debug without Nsight Tegra? If you're able to reproduce the error in a clean project, can you provide the setup that causes the error to occur?

Sorry about being late. Unfortunately I encounter another difficulty is that I build an apk with Unreal Editor and install on my phone. It can pass the login process and works well. but after that, I retry to debug on NSight Tegra, it pass the login process and ActorChannelFailure did not occur again. I guess this situation might be cause by using some configuration of apk that I built. So I clean up some data in folder binary, intermediate, save/cooked, save/stagebuild, and run Nsight Tegra again. Then I got a segmentation fault when game is launching. Now I even can't finish lunching my game. Did I do anything wrong?

I'm not sure I fully follow your steps. After re-packaging and installing the project, are there any errors? When you attempt to debug, can you provide the exact error you're getting? Can you let me know if you have the same problem debugging an empty project?

Q1: No. Q2: Now I encounter the Segmentation fault problem, I can't launch my game and test the login process, so I cant' provide the whole error message about ActorChannelFailure right now, sorry. :'( Q3: If you mean the Segmentation fault. Yes, as follows.

[Update]: Now I try a whole new empty project (C++ Basic Code/No Starter Content). Build successful without any error(Solution Configuration: Develop, Platform: Android). Then I run the Nsight Tegra Debugger, I still got the Segmentation fault.

If you need this empty test project, just tell me which files or folders you need. Thanks. :-)

I've tried reproducing with a fresh C++ project as you mentioned but I haven't had the same results. When you mention "Then I run the Nsight Tegra Debugger", are you just launching the project in Debug for your Android Device, as in right-clicking the project name and selecting Debug > Start New Instance or hitting the "Nsight Tegra Debugger" button on the toolbar, or are you doing something else?

Let me explain my issue again and hope there will be some useful information.

Use Nsight Tegra to debug my project and encounter the ActorChannelFailure issue. (The game is auto deployed by Nsight Tegra.)

So I try to build an apk with Unreal Editor and directly install it on my phone. Works well without ActorChannelFailure issue.

Back to step 1 and test again. (Auto deployed) But the ActorChannelFailure issue didn't occur again. I guess there could be some issue in build process. So I clean up some data in folder binary, intermediate, save/cooked, save/stagebuild to let them rebuild again when in step 4.

Retry to use Nsight Tegra and encounter the Segmentation fault error when loading.

Create a whole new project and try Nsight Tegra, still has the Segmentation fault error.

Here is the output log of the Segmentation Fault Log. There might be a little bit different from picture above, but I think it is no big difference. Both are same problem in loading shared library libgnustl_shared.so and libvrapi.so. But I can find these two file in my \Intermediate\Android\APK\libs\armeabi-v7a folder. Is there any clue? Thanks.

I apologize for the delay, I spoke to someone about this and it seems like these missing library messages are normal and we can ignore those. We need to try to take a look at the LogCat to find out what is causing this Segmentation Fault. Could you get that from the device? You can see how to do that here if you're not familiar. https://answers.unrealengine.com/questions/328228/how-can-i-get-full-log-from-android.html

After looking up previous reports of that I came across this post which mentions that it may be caused by invalid characters in a file path. Could you check any of your project's directory's folders for special characters that aren't usually accepted by UE4's standards? This would include any spaces in file/folder names as well.

Yes, There had a space in my folder name (C:\Users\User\Documents\Unreal Projects\WholeBlankProject). Then I modify it into C:\Users\User\Documents\UnrealProjects\WholeBlankProject and regenerate the .sln file, re-build it again. But unfortunately still got the segmentation fault. Did I miss anything after the folder path was modified? Here are the output log and logcat message. The ICU problem you mention above is still exist. Any other idea? Or need other information? Thanks anyway. :)

It seems like this issue is related to the ICU problem but it's not exactly what I thought it was. It seems like the OBB may not be installed on your device, which can be done using the batch file with the packaged build. Also, ensure that the option for 'Disable Verify OBB on Startup" is checked.

If it still doesn't work and the OBB isn't the problem, try editing GameActivity.java in Engine/Build/Android/Java/src/com/epicgames and force HasAllFiles = true on line 168. This'll stop the OBB installer from running.

As I mention above, use the install batch which generated by packaged build and attach process to nsight is work well. But package a new build in each time is not so convenient, right. :)

I check the *\Android\obb[Project Name* folder in my device after auto deploy by nsight, it really no any .obb files in there. So maybe it could be the problem, I guess. But the method you said seems no use for me. Still any other idea? Thanks anyway :)