x

Search in
Sort by:

Question Status:

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
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Mouse cursor invisible after seamless travel

Hi! I've have a strange problem in my game. It's a multiplayer game with a gamelobby for game preplanning stuff, when players are ready they get transferred to the gameboard, then I execute the following lines:

//GameInstance, run on server GetWorld()->GetAuthGameMode()->bUseSeamlessTravel = true; GetWorld()->ServerTravel(FString("/Game/Maps/NewMapsMarcus/TempGameMap?listen"));

After that my mouse cursor disappears. I can push UMG-buttons, and then the mouse cursor appear until i press somwhere in the 3D-world and it disappears again.

If I do not use Seamless Travel it all works fine with the mouse.

Do I need to rerun any methods or such in the gamemode class that doesn't get executed during the Seamless travels?

Product Version: UE 4.9
Tags:
more ▼

asked Sep 04 '15 at 01:56 PM in Using UE4

avatar image

State128
78 5 9 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I found a solution right after i posted this question. It seems like something get messed up with the cursor type.

Easy fix: Set mouse cursor to "Default" or something else.

more ▼

answered Sep 04 '15 at 02:19 PM

avatar image

State128
78 5 9 13

avatar image DeepFriedCircuits Sep 29 '15 at 03:14 AM

Hah! That seems to have fixed my issue completely as well! This probably should be filed as a bug. I'd been trying to debug my blueprints for the past 30ish minutes thinking I'd broken something. :p

Good find!

avatar image State128 Sep 30 '15 at 06:51 AM

Thanks mate, I've experiencing some issues related to seamless travels(how do i debug? for example when PIE not supports it). The hardest challenge for me atm is keeping data in playerstate between seamless travels. Can't wrapp myself around what i'm doing wrong.

https://answers.unrealengine.com/questions/303795/transfer-playerstate-data-during-seamless-travel.html

avatar image jdannenbring Mar 16 '16 at 01:07 AM

I'm having the same issue with losing the mouse cursor in the game after seamless travel but don't quite understand your solution. Where do we set the mouse cursor to "Default" ?

avatar image jdannenbring Mar 16 '16 at 01:17 AM

Ah just figured out what you meant. For anyone else stuck on this, add this to your Blueprint after the seamless travel has occured (in your player controller).alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

What if the cursor disappears while the mouse is held down but comes back when released? For me the cursor only disappears if the map has been loaded from lobby ... if launched directly, everything is normal.

more ▼

answered Aug 08 '16 at 01:44 PM

avatar image

tomofnz
1.1k 46 47 88

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question