Splitscreen broken in Standalone mode

Splitscreen in 4.11 (release) seems broken in standalone mode. I’m coming from 4.9. The first players screen looks like there is no hardware clearing happening.

On a new project it seems to work fine though.

Any suggestions on how to fix this? I deleted my intermediate folder and also removed post-process volumes and the issue still persists. It appears fine in PIE mode though.

This error is also present after a short period of time

Assertion failed: AllEnabledTickFunctions.Remove(TickFunction) == 1 [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp] [Line: 811]

Hi TheAgent,

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?
  • What steps can I take to reproduce this error on my end?

This seems to only happen on my project using my custom game mode. Creating a new project I don’t see the issue. If I change the game mode to something that does not use my player pawn it has that issue, then it crashes after a short period of time. I have yet to find the exact steps needed to cause this. It works fine in PIE in my game mode however in Standalone game it breaks (image above).

I can provide a cleaned up version of my project if needed via PM however it is quite large.

If you are comfortable with it, will you send me a copy of your project so I can test this error on my end?

Yeah I’ll PM you the link once I have it uploaded.

I sent you a PM via the forums.

I am having a look at the project and I believe I may have found part of the problem, though there may be more. In your BM_PlayerPawn you are setting the view for your side scroller camera, it looks like this may have been moved to a new function. If you drag off of your side camera component and type in “Set Field of View”, you should see the new function.

Additionally, I don’t see where you are populating the side view camera component. If you add an IsValid check before the Set Field of View you can check to see if the script is running, if it is not valid, it means the variable has not been populated.

Thanks I’ll try that and let you know how it goes.

The problem actually still persists. I thought it was fixed but it was just because I played in pie mode instead. Playing in game mode still causes that issue… hmm.

Im not sure why my SideViewCameraComponent doesnt actually show up in BP even though I add it in code. I’m going to see if just removing it and doing it in BP will fix it.

EDIT: Okay a new discovery. So after changing the FOV stuff, the issue does start but it goes away after a sec and everything looks like its normal again.

The tilde key seems to not show the console in splitscreen mode (in game mode)

Are you setting the side view camera at construction? At what point are you calling it in the initialization of the asset?

I initialize the asset in C++, under BaconManCharacter.cpp. Re-creating a copy of the project fixed those issues for me.

The only problem now is that the crazy drag of mirrors effect only happens for about a second, then it goes away. and the console command only appears in singleplayer mode. In co-op (gamemode) the console window doesn’t appear, but it still takes input etc. Maybe its offscreen or something.

Hi TheAgent,

I’m happy to hear you were able to reduce the error you are seeing on your end. Unfortunately I do not know what could be causing the new camera behavior you are seeing, but it may be related to the code in which you initialize the camera component. For now, I will mark this as answered for tracking purposes. If you believe this to be a bug, please feel free to comment here and we’ll be happy to take a second look.

Hey, yeah for now this will have to do, I will post if I come up with a solution, thanks again for all the help!