so I'm trying to create a mobile game in UE4.25, working in the blueprints section for this part, but I put game over into its own level because it was causing problems when in the same level as the main game. When trying to call game over after the player hits an enemy with less score than the enemy takes away, I call openlevel which goes to DEMO_GameOver (the level) but I get the "travel failure" error.
anyone know how to fix this? (see attached images for more information)
UPDATE: SOLVED
after looking back several times at this post to see if anyone had responded with a solution, I worked out the problem randomly while looking at the screen. I realised that I had named the level I was trying to open "DEMO_GameOver" where I needed to call "BETA_GameOver"
I hope someone else who has this problem can figure out a similar fix, it's probably (when working in singleplayer) just an incorrect level name.
Related
I made a Model of the solar system and when I run the program this happens:
I am not sure what is causing this so if you have any idea Pls Reply.
The Scene load is being triggered multiple times:
Check if you have any code that you're using to load the scene (In Update, perhaps?) if youre using it in update, check if you're using GetKey instead of GetKeyDown (GetKey will remain true as long as you keep it pressed)
The information provided here is too little and we can only speculate at this point. please post code, more images and a better description of the problem. How did you reproduce this issue?
Unity won't let me select objects on my scene without first selecting the object in the Hierarchy. This was all I could find on the issue.
However, it seems that they decided that closing and opening the scene window fixed the bug, but not so with me. Also note that I am on a blank project. Its been really difficult to work around this bug.
Edit:
I have even uninstalled Unity and reinstalled with the hopes that this would solve the problem, but unfortunately it did not. Thanks for any help ahead of time.
Honestly this is such an odd problem that I'm having difficulty knowing how to try and fix the problem. I also reported the bug as recommended below by NoƫlWidmer, but even the staff who was very kind had no idea how to deal with the problem, and the advice he gave also didn't change a thing. Truly, I don't even know what more information I can give you guys because as I said I literally opened a new Unity project for the first time after reinstalling and was unable to select without first clicking on the hierarchy. Is this just a special freak case that landed with me or has this happened to anyone else?? Also I'm using a two year old Windows 8 Laptop with literally nothing installed on it but the Adobe suite and a few other game developer necessities, so my computer most likely is not the source of the problem.
Edit: a Clue??
Well I was messing around with the scene and hierarchy view in full screen, and I noticed something interesting after clicking on the object in the hierarchy and moving the object in the scene view:
Unfortunately my PrintScreen doesnt show the actual mouse, but as you can see the scene view acts as though I'm clicking on the object, but here at the same time I saw my real mouse off down to the right! Also while I've selected an object on the scene editor and I move my mouse off the scene window things get a bit off and the mouse will pop up on other sides of the window and so on. I don't know if that's normal and its that way for everyone or if it's just me and it might help figure out what's going on.
Man I've really been liking Unity but if this keeps up I think I'll have to drop it and find another software, because I certainly will never be able to design anything worth while if I have to select the object on the hierarchy every time for every single object.
Some bug for me on Mac platform. I resolve just entering and exit from fullscreen mode.
Probably may also work change layout with top-right combo.
I had similar issue while using older versions of unity (in addition inspector window lost the focus repeatedly). In my case rearraging editor windows and saving custom window layout solved it. As far as I remember, I just moved scene view outside Unity window (on the second screen) as well as hierarchy view, and saved resulting position as a new window layout.
Not sure if there is anything else I can tell about it, it's pretty mysterious problem.
I'm overwhelmed with joy right now!! The problem was indeed a bug. I was working on a project and moving objects around (still using the hierarchy to select objects) and then a split second later for absolutely no reason Unity decided to start working the way it should've!!! I guess its just one of those issues where you just have to cross your fingers and hope it'll resolve itself. I'm so glad this dumb issue resolved itself because I was about to tear my hair out and succumb to using another computer for my unity design, or even worse another software. Thank you to everyone who helped!
I've completed the Defold tutorial upto Step5 and also the first 7 points of Step6. However, I when I hit space the frog object does not jump. I keep seeing the below messages in the console.
WARNING:DLIB: Failed to send announce message (-22)
Also, if I place the frog object at some height above the ground it does not 'fall' but just runs its animation.
What could be wrong? I don't think that I can copy the entire contents here as there is so much, can anyone share a working source for the tutorial?
I needed to add the hero.script component to the hero game object as per this answer on the Defold forum
Can anyone help me with this error message I get when I try to play a game level in a game I am developing.
What happens is that on starting the game the game starts and runs fine but after the player wins or loses the game and wishes to replay or play the game level again from the main menu, the following error comes up(Please see the screen shot below):
I suspect my animations but I really cannot place what and where the problem is.
animations_ has probably already been released, if you did not retain it, then you do not have to release it.
I doing a game application using cocos2d.In this application two game are include together. When playing game i include a action for switching the game. when i use this button two or three times change the game but after that the game is freezes & not work any more until the game is close the game. If anyone have a solution than give me some information that how can i overcome in this problem.
Are you sure you don't have memory leak problems when switching games?
Its difficult to diagnose correctly with so little information but my guess would be that the switch process isnt done correctly and after a few times some memory/variables get corrupted