This is where fixed bugs can be seen. Please do not post new bugs into this forum, it is purely to see what has been fixed and most topics will be locked.

Skyline V0.9.6 - Crashes

Skyline V0.9.6 - Crashes

Postby epsilonion » 29 Jul 2015, 20:28

The Player crashing when playing a scene form the editor (when you click the game controller icon).

logs.zip
Log files
(39.83 KiB) Downloaded 379 times



Crash when loading 3 scenes...... splash screen, mainmenu, then a playable scene, it crashes near the end of loading the last scene
but it runs fine in the editor.


logs.zip
More logs when it crashes but loading 3 scenes
(37.62 KiB) Downloaded 371 times
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Player crashing when playing a scene form the editor

Postby epsilonion » 29 Jul 2015, 21:05

Also when compiling a game and running the compiled game leads to a crash, see log files.
There are no errors in the editor for this scene.
Attachments
Test.zip
Log files from compiled game
(8.12 KiB) Downloaded 365 times
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Player crashing when playing a scene form the editor

Postby epsilonion » 29 Jul 2015, 21:43

If you are using the FPS Player and FPS HUD, when you can display a UI but you can not select any buttons with the HUD enabled, even if in the properties you change the option "selectable = false" (in the editor) you still can not click any buttons.

The way I have it is if you press the P Key (would prefer the Esc key) it opens an in game menu but I also have a trigger box that opens up another ui to display a .png file as a tutorial text, but it displays one or the other depends on what you load up first.

for example:

when the games running in the editor and I walk into the trigger box it displays the png file with tutorial info on it and the exit button is not selectable.

Now if I run it again and press the P key it does not load up the ingame (pause) menu, it shows the png info file menu.

Both ui's are in separate directories and the scripts are in seperate locations:


Pause menu script: scenescript and the UI is located in GUI/mainmenu/
tutorial UI: GUI/tutorial/fps/
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Skyline V0.9.6 - Crashes

Postby SolarPortal » 30 Jul 2015, 09:18

hmm this sounds like something from the editor has been left in the player and game player release builds.

For the first 2 posts, it will help if we can have the scene to hunt the fault from.
We can activate a print that shows which entity is loading and track it from there based on entity type.

If you are using the FPS Player and FPS HUD, when you can display a UI but you can not select any buttons with the HUD enabled, even if in the properties you change the option "selectable = false" (in the editor) you still can not click any buttons.

I think this thread may help you as we have commands to knock the FPS out of shooting mode and into selection mode.
http://www.forum.aurasoft-skyline.co.uk/viewtopic.php?f=4&t=1034&p=5052&hilit=fps+click#p5052

Now if I run it again and press the P key it does not load up the ingame (pause) menu, it shows the png info file menu.

Is this too do with the scene not clearing something out... maybes a video will help :)

We will be happy to help you get through this error ;)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Skyline V0.9.6 - Crashes

Postby epsilonion » 30 Jul 2015, 11:28

Here you go

tmp.zip
Scene and script files
(2 MiB) Downloaded 370 times
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Skyline V0.9.6 - Crashes

Postby epsilonion » 30 Jul 2015, 11:29

oh forgot to say it crashes when using the player and when trying to load a compiled blank scene...
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Skyline V0.9.6 - Crashes

Postby SolarPortal » 30 Jul 2015, 14:07

thanks, i will check this out today.
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Skyline V0.9.6 - Crashes

Postby SolarPortal » 30 Jul 2015, 16:57

Fixed Error 1) The reason why the player and game would not load is because i made a silly mistake in code and forgot to ifdef and editor feature out lol :P :oops:
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Player crashing when playing a scene form the editor

Postby epsilonion » 31 Jul 2015, 23:43

liamgibbins wrote:for example:

when the games running in the editor and I walk into the trigger box it displays the png file with tutorial info on it and the exit button is not selectable.



I have noticed that the GUI that displays the png file is rendered behind the HUD and needs to be pulled to the front so that the exit button can be clicked, even better a way to hide the HUD.

The only way I could get rid of the hud was to use the sky.callGlobalFn and use the guihid(id,id); command...
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Skyline V0.9.6 - Crashes

Postby epsilonion » 01 Aug 2015, 02:49

I put this is the HUD script and it stops the hud from working even when its not been called...


Code: Select all
function globalFn( callingID, value )
      
   if(callingID == 6) then   
      Key = value;
         if (Key == 0) then
            gui.hide(guiID,guiID);
         elseif (Key == 1) then
            gui.show(guiID,guiID);
         end
end



Any ideas why its runnung through the function when the trigger box calling id of 6 is not calling the function?
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Skyline V0.9.6 - Crashes

Postby Shando » 01 Aug 2015, 03:02

Hey buddy,

Not sure if this is the reason, but it looks like you're missing an "end":

Code: Select all
function globalFn( callingID, value )
     
   if(callingID == 6) then   
      Key = value;
         if (Key == 0) then
            gui.hide(guiID,guiID);
         elseif (Key == 1) then
            gui.show(guiID,guiID);
         end
    end    -- NEW END
end


HTH

Shando
Ryzen 7 4800H 16GB GTX1650 Win 11 64
Love, Hope, Strength http://www.lovehopestrength.co.uk
User avatar
Shando
Skyline Moderator
Skyline Moderator
 
Posts: 560
Joined: 06 Mar 2013, 22:35
Location: Moffat Beach, Queensland
Skill: Programmer
Skill: Scripter
Skill: Level Designer

Re: Skyline V0.9.6 - Crashes

Postby SolarPortal » 01 Aug 2015, 11:42

thanks shando for helping :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Fixed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest