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. 

Physics related crashing

Hi everyone,

There's a sphere that has been making the game crash in certain locations. It doesn't make sense to me because it happens on flat surfaces usually.

A few details that may be helpful:

  • The sphere is using CCD

  • There are hit events for this sphere

  • The meshes it interacts with are using complex collision as simple (rolls on these meshes)

  • It has worked before without any issues on a different map (with the exception of crashing the game in 1 location)

  • I can't pick out anything unique about these locations where it's crashing

  • The crashes only seem to happen when the sphere touches a mesh it doesn't like in a spot it doesn't like

I'm thinking it might have to to with the hit events? Maybe too many (is that possible)? I can't figure out what's wrong by looking at the crash log although my experience in this area is minimal. No idea what it could be, just hoping something isn't corrupt or it may even be a bug... This was an issue for me in 4.17 as well. It's been plaguing my mind for months and I can't figure it out.

Thanks

link text

Product Version: UE 4.18
Tags:
game.log (45.6 kB)
more ▼

asked Nov 16 '17 at 02:04 PM in Bug Reports

avatar image

Isaac S
47 3 9 14

avatar image TJ V ♦♦ STAFF Nov 16 '17 at 03:16 PM

Hi Isaac,

Are you attempting to simulate physics on meshes that are using Complex As Simple? I suggest creating custom collision for all meshes that are simulating physics. Using Complex As Simple isn't performant and can cause issues.

PIE: Warning: Trying to simulate physics on ''/Game/VirtualRealityBP/Maps/IslandMap.IslandMap:PersistentLevel.MGCmesh_MGCmesh_325590_1.StaticMeshComponent0'' but it has ComplexAsSimple collision.

As for the crash, could you provide your full Crash Callstack including your EpicID and MachineID? Please make sure to submit this callstack window so we have in logged in our tracking system.

Any screenshots of your setup, repro steps, or a test project could also help as well.

avatar image Isaac S Nov 16 '17 at 03:40 PM

Hi TJ, thanks for responding.

"Are you attempting to simulate physics on meshes that are using Complex As Simple? I suggest creating custom collision for all meshes that are simulating physics. Using Complex As Simple isn't performant and can cause issues."

The sphere is simulating physics (& CCD) with default collision. The static meshes that it is interacting with have complex collision as simple and are not simulating physics. I've included a screenshot of the sphere and mesh surface from above in wire frame (to see the simplicity of the mesh). I'm beginning to think that it might be related to velocities getting updated in the blueprint via a timer and will try remaking the sphere blueprint with and without these timed velocity updates.

"As for the crash, could you provide your full Crash Callstack including your EpicID and MachineID? Please make sure to submit this callstack window so we have in logged in our tracking system."

I submitted the complete report through the editor prompt recently when I reproduced the crash.

Thanks

alt text

screenshot1.jpg (41.0 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So after disabling these velocity changes set on a timer, the crashing has stopped. I have found an alternative way to achieve what I wanted in the blueprint but for now, it seems like that was probably bogging down the performance. I'm no expert but it seems to have been the issue.

Appreciate the help though, TJ.

more ▼

answered Nov 16 '17 at 05:19 PM

avatar image

Isaac S
47 3 9 14

(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