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"

[Closed] CCD causes crash

After hours of trying to find out what's causing the crashes in my minigolf game, I came to the conclusion that the game crashes when CCD is used and I teleport the ball via "Set World Transform" or similar nodes through objects. I hope this can be fixed.

Product Version: Not Selected
more ▼

asked Apr 10 '14 at 09:25 PM in Bug Reports

avatar image

402 22 25 39

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

The question has been closed Apr 14 '14 at 04:18 AM by DasMatze for the following reason:

The question is answered, right answer was accepted

1 answer: sort voted first

Hi DasMatze,

Does this happen on new blueprints using the same node setup or only the one blueprint? Also can you send me a screenshot of what your setup is so I can more accurately reproduce this issue? Thus far I have been unsuccessful in reproducing it. Thank you!

more ▼

answered Apr 10 '14 at 10:17 PM

avatar image DasMatze Apr 10 '14 at 10:41 PM

Now that you mention it, it appears it only happens with that specific blueprint. I have not been able to reproduce it as well, even on the same map. I found a work-around for it by disabling the collision before teleporting the component and enabling it back after.

This is my setup:

alt text

The Sphere is the collision object, the ball is just decoration. The springarm is not attached to the sphere as following it via "OnTick" events results in smoother motion. The spring arm, camera and the club have no collision as well.

If it helps, I could send the whole project including instructions (I just don't want to make it publically available) but I might be the only one who ran into this problem and as I wrote, I found a work-around.

1.jpg (39.2 kB)
avatar image DasMatze Apr 12 '14 at 06:12 AM

I'd like to point out that I have other weird issues with this project as well. Such as the game crashing in 75% of the cases when the golf ball hits the terrain as well as "Draw Text" not working (it get's triggered but no text appears (the fonts, positions and strings are correct)).

avatar image Adam Davis STAFF Apr 13 '14 at 03:04 PM

Hi DasMatze,

Can you do me a favor here? Try to build a simple landscape in a brand new level with no content. Once you do this, take your ball blueprint and place it in the air with enable physics on. Then hit simulate. See if this causes the crash. On the same level, try a simple hello message with build text and see if this appears. Thank you!

avatar image DasMatze Apr 13 '14 at 03:56 PM

The crash still appears after hitting the terrain with a certain minimum velocity. I suspect something being wrong with the layer information but I checked them and there is nothing wrong with them.

The text still doesn't appear.

avatar image Adam Davis STAFF Apr 13 '14 at 05:33 PM

Hi DasMatze,

I have thus far been unable to reproduce this. Do you have any test assets that you would feel comfortable sharing so I may have a look? If no, can you please detail your exact reproduction steps so I may create this on my side? Thank you and have a great day!

avatar image DasMatze Apr 13 '14 at 07:47 PM

Here's the light version of my project: https://dl.dropboxusercontent.com/s/c658y8rk6ahjbfu/CCD%20Causes%20Crash.rar?dl=1

Just hit play and press space. The "RegularBlueprints/MinigolfHUD" blueprint contains the "Draw Text" node. The "RegularBlueprints/Player" blueprint contains the sphere with CCD.

Thanks for looking at it!

avatar image Adam Davis STAFF Apr 13 '14 at 09:16 PM

Hi DasMatze,

Thank you for allowing us access to this. However, even with these assets I was unable to reproduce the issues you described. The text did not show up on the screen at first, however I promoted the string to a variable, made this editable and afterwards the text showed on the screen fine. The ball never crashed the editor after hitting the landscape. Are there any other steps I can take to potentially find this issue? It could be that your map or project has been corrupted and you may have to move your contents to a new project.

avatar image DasMatze Apr 14 '14 at 04:16 AM

Thank you for the report!

I tried moving the content into a new project - still crashes, still no text (the text is an editable variable now)

Then I tried reinstalling the engine - still crashes, still no text.

I thank you for your effort but I guess there is nothing anyone can do now.

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

Follow this question

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

Answers to this question