Crashed the Unreal engine, no idea why... x_x

Recommended Posts

Well, the class below is the only thing I messed with, is the player blueprint for the worm game, so the bug is 100% in the image below, problem is that I don't have the slightest idea of how to debug it x_x

Though if someone feels brave enough and wants to take a look, I have commented the section with what I think and hope my code is doing, but probably is not... :S

Basically my whole reasoning was this:

We start driving the "Head" of the worm, when we Hit a Pickup then we use its location to initialize a new StaticMesh and store it in the Array of StaticMeshes that represents the "body blocks" of the Worm, and of course the last element we added thus the last index is always the (new) "Head".

So to update the position my idea was that every index starting from 0 and except the last is set to the position of the index in front of it, and then the last index (the Head) moves in the direction of the key pressed (since it has no other block to follow).

Also we don't update position the turn we hit the pickup because the rest of the body don't move and the the new head is added where the pickup was.

I also put a poor quality video below so you see Unreal engine exploding xD  Blue is the Worm, green is the Pickup. By the way, also notice that the blocks of the body even though being added and showing up at the correct location, are not moving at all... :|

http://i.imgur.com/Ytaq2Yv.mp4

ImageLink

hvvaX9y.png

Edited by MarcusAseth

Share this post


Link to post
Share on other sites

Ok, works, turns out I wasn't understanding correctly what my TArray was storing and was giving me back, is an Array of pointers and I was replacing the pointers to the StaticMeshesComponent, I was slightly mislead by the documentation because the method Get says it returns a copy by Value so I got confused and messed up xD

Video below to prove it works, so I can go back to polish and finish it :P

http://i.imgur.com/gyeHJG1.mp4

Should make a mental note of taking a 1 hour break and try again after it instead of panicking and create a useless post x_x

Edited by MarcusAseth

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Forum Statistics

    • Total Topics
      628637
    • Total Posts
      2983969
  • Similar Content

    • By Anderfell
      **[ROYALTY]**
       
      Hello my name is Brandon and I am currently one of the co owners of the team Digital Forged Studios.
       
      We are currently seeking two new members for our team, before applying you must be aware that we are seeking people that are 100% committed to this project, you must be reachable within the day, replying to questions or responding to our messages and in general be actively online, otherwise I ask nicely that you do not apply.
       
      The persons we are seeking are an experienced Programmer with knowledge  in c++, c#, and or unreal script, the c++ and familiarity with unreal is the main thing were seeking, other teams we are currently looking for are 3D artists to work on Humanoid models Props and more, were are also seeking other team members such as Generalists that understands the Unreal Engine, Animators for Human, Non Human and Objects were keeping the team small and having whats needed so feel free to apply.
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      [SEEKING CURRENT POSITIONS]
       
      [Animators] x 2 [ You will be doing Human, Non Human, and Objects like Machines and Doors, Environment assets. ]
      [3D Artist] x 2 [ You will be focusing on Humans, Objects, and Environment modeling would also like skills in texturing. ]
      [Generalist] x 1 [ We would like someone that has good knowledge of Unreal Engine that can set up anything we need in Engine. ]
      [Writer] x 1 [ We would need someone that can work with me on game documents, organisation of documents story arcs, character development, dialogue creation, text editing and other text related jobs. ]
      [PROGRAMMER] "As above"
       
      The project is Royalties and when any fund raising is made you will also receive some funding based off that, this is divided depending on amount of work done as an example per asset made toward the game, there are no contracts at this stage and everything known is in documents at the moment.
       
      The game is a Action RPG with online elements this will be an ongoing project, we are running ssh servers, and Prefroce. We have a small staff of experienced people.
       
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      We do have some artwork to show of the world a little and what it's about, If you are interested in joining the project please contact us at:
       
      Anderfell info:
      Anderfell#5123 on Discord
      nevarra@hotmail.com email
       
      Shadefix info:
      Shadefix#0570 on Discord
      androes.matthijssens@gmail.com email
      We are active on Discord and maybe take a day or two to reply to emails on our website as we receive a few a daily we need to sort through thanks. 
      https://digitalforgedstudios.com/
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Comic Panel
      http://imgur.com/a/905pd
       
      Artwork
      http://imgur.com/a/0JchV
      Models
      http://imgur.com/a/jdhWu
       
      Game Document
      https://docs.google.com/document/d/1bNlP-qwR15BLGG66hDUcewqlWIPP4flnHxRwxfhNmTE/edit?usp=sharing
       
      Regards Brandon
      Digital Forged Game Development Team.
       
      Some Progress
       





       
       





    • By i3DTutorials
       

       
      Game School Online™ Announces Winter Enrollment Open Through December
      Los Angeles, CA - December 2017
       
      Free Winter Term Enrollment!
      Free Winter Enrollment:
      Game School Online™, the first and only free online game development school of its kind, has opened enrollment for the winter term, which begins in January of 2018. GSO™ currently offers curricula in environment art and lighting for games, focusing specifically on Unreal Engine 4. GSO™ will be adding two new courses for the winter term, “Advanced Lighting Concepts with Unreal Engine 4” and “Advanced Hard Surface Modeling.”

       
      Free Workshop!

       
      December Free Workshop:
      In addition to winter enrollment, GSO™ will have a free online workshop, “Animating For Games and Movies”, with Veara Suon, Senior Animator at Double Negative. Veara has worked in the AAA games industry, working on franchises like Destiny and Bioshock. Veara also works in the film industry, having worked for famed studios like Weta, ILM, and Sony, contributing to films like Pacific Rim 2, Spiderman, and Avengers. In this month’s free GSO™ workshop, Veara will be discussing topics such as:
      Sharing techniques on how he animates for games and film
      Advice on how students can get a job in games or film
      Advice on how working professionals can switch from games to film, and vice versa
      Job relocation
      The workshop will last for an hour, with allocated time for Q & A from the audience. The workshop will take place on December 14 at 8pm PST. As usual, our monthly workshops are absolutely free and anyone is welcomed to join us. To RSVP, please visit our Facebook page here: https://www.facebook.com/events/139461393377301/?active_tab=about

       
      Scholars Available For Mentoring!
      Scholar Lineup:
      Scholars are our mentors, working industry professionals currently working on your favorite games and franchises- here to help you learn to be a professional game dev, with one on one live private sessions. Our current lineup of scholars includes:
       
      Brian Yam - Director of Visual Development @ Section Studios
      https://bdyammer.artstation.com/
      https://www.linkedin.com/in/yambrian/
       
      Olaf Piesche - Senior Engineer @ Epic Games
      https://www.linkedin.com/in/olaf-piesche-0938292/
       
      Kevin DeBolt - World Artist @ 343 Industries
      http://kevindebolt.com/index.html
      https://www.linkedin.com/in/kevin-debolt-52058844/
       
      Rosie Katz - Senior Game Designer @ EA, Visceral, Sledgehammer Games
      http://www.rosiewrede.com/index.php?nav_bar=level_design
      https://www.linkedin.com/in/rosiewrede/
       
      Leo Gonzalez - Senior Artist @ Certain Affinity
      https://leog.artstation.com/
      https://www.linkedin.com/in/leo-g/
       
      Brandon Pham - Lead Environment Artist
      https://brandonpham.artstation.com/
      https://www.linkedin.com/in/brandon-pham-a490497/

       
      We believe that education should be free for everyone! Come join us at Game School Online™ and see what the future of game development education looks like today! For more information about Game School Online™, available courses, scholars, and events, please visit http://gameschoolonline.com/


       
      Facebook: https://www.facebook.com/gameschoolonline/
      Twitter: @GSOscholar
      Discord: https://discordapp.com/invite/BzU5Fq2
      Patreon: https://www.patreon.com/gameschoolonline


       
      About Game School Online™ (GSO™)
      Game School Online™ is the first ever, completely free game development training program. GSO™ was founded by veteran developers working in the AAA games and entertainment industries. Featuring courses authored by working industry professionals, students are able to learn production techniques and workflows used to ship some of the biggest IPs and AAA franchises. Industry pros known as “scholars”, work with students providing private live sessions to help you become “industry” ready. All courses are available for free, no trials or demos- it’s completely free for anyone that wants to learn how to become a skilled game developer. For more information, please visit our website: http://gameschoolonline.com/
      Game School Online™ and GSO™ are registered trademarks Game School Online, LLC. All other brand names, product names or trademarks belong to their respective holders.
       
      Contact
      Game School Online, LLC.
      info@gameschoolonline.com

      View full story
    • By i3DTutorials
       

       
      Game School Online™ Announces Winter Enrollment Open Through December
      Los Angeles, CA - December 2017
       
      Free Winter Term Enrollment!
      Free Winter Enrollment:
      Game School Online™, the first and only free online game development school of its kind, has opened enrollment for the winter term, which begins in January of 2018. GSO™ currently offers curricula in environment art and lighting for games, focusing specifically on Unreal Engine 4. GSO™ will be adding two new courses for the winter term, “Advanced Lighting Concepts with Unreal Engine 4” and “Advanced Hard Surface Modeling.”

       
      Free Workshop!

       
      December Free Workshop:
      In addition to winter enrollment, GSO™ will have a free online workshop, “Animating For Games and Movies”, with Veara Suon, Senior Animator at Double Negative. Veara has worked in the AAA games industry, working on franchises like Destiny and Bioshock. Veara also works in the film industry, having worked for famed studios like Weta, ILM, and Sony, contributing to films like Pacific Rim 2, Spiderman, and Avengers. In this month’s free GSO™ workshop, Veara will be discussing topics such as:
      Sharing techniques on how he animates for games and film
      Advice on how students can get a job in games or film
      Advice on how working professionals can switch from games to film, and vice versa
      Job relocation
      The workshop will last for an hour, with allocated time for Q & A from the audience. The workshop will take place on December 14 at 8pm PST. As usual, our monthly workshops are absolutely free and anyone is welcomed to join us. To RSVP, please visit our Facebook page here: https://www.facebook.com/events/139461393377301/?active_tab=about

       
      Scholars Available For Mentoring!
      Scholar Lineup:
      Scholars are our mentors, working industry professionals currently working on your favorite games and franchises- here to help you learn to be a professional game dev, with one on one live private sessions. Our current lineup of scholars includes:
       
      Brian Yam - Director of Visual Development @ Section Studios
      https://bdyammer.artstation.com/
      https://www.linkedin.com/in/yambrian/
       
      Olaf Piesche - Senior Engineer @ Epic Games
      https://www.linkedin.com/in/olaf-piesche-0938292/
       
      Kevin DeBolt - World Artist @ 343 Industries
      http://kevindebolt.com/index.html
      https://www.linkedin.com/in/kevin-debolt-52058844/
       
      Rosie Katz - Senior Game Designer @ EA, Visceral, Sledgehammer Games
      http://www.rosiewrede.com/index.php?nav_bar=level_design
      https://www.linkedin.com/in/rosiewrede/
       
      Leo Gonzalez - Senior Artist @ Certain Affinity
      https://leog.artstation.com/
      https://www.linkedin.com/in/leo-g/
       
      Brandon Pham - Lead Environment Artist
      https://brandonpham.artstation.com/
      https://www.linkedin.com/in/brandon-pham-a490497/

       
      We believe that education should be free for everyone! Come join us at Game School Online™ and see what the future of game development education looks like today! For more information about Game School Online™, available courses, scholars, and events, please visit http://gameschoolonline.com/


       
      Facebook: https://www.facebook.com/gameschoolonline/
      Twitter: @GSOscholar
      Discord: https://discordapp.com/invite/BzU5Fq2
      Patreon: https://www.patreon.com/gameschoolonline


       
      About Game School Online™ (GSO™)
      Game School Online™ is the first ever, completely free game development training program. GSO™ was founded by veteran developers working in the AAA games and entertainment industries. Featuring courses authored by working industry professionals, students are able to learn production techniques and workflows used to ship some of the biggest IPs and AAA franchises. Industry pros known as “scholars”, work with students providing private live sessions to help you become “industry” ready. All courses are available for free, no trials or demos- it’s completely free for anyone that wants to learn how to become a skilled game developer. For more information, please visit our website: http://gameschoolonline.com/
      Game School Online™ and GSO™ are registered trademarks Game School Online, LLC. All other brand names, product names or trademarks belong to their respective holders.
       
      Contact
      Game School Online, LLC.
      info@gameschoolonline.com
    • By Ben3d
      My new contribution. I hope you will like it. Details here.
    • By Erik Nivala
      Hey everyone,
      i have been learning to make games using C# and Unity for 2+ years now and recently added Unreal and C++ to the mix. I am looking for a Team to work on a small project. Mainly i am looking to better my coding so it would be nice if the team already had a programmer who could teach me some things. 
      If you want to see some of my previous work or have any more Information feel free to contact me.
      Discord: Lumina | Erik#5613
      Have a nice day.
  • Popular Now