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"

BP VR Project: TMap Based Inventory Causing Project/Engine/Game Freezing

I have a BP VR project that I ported over to 4.15 for the new TMaps features that were exposed to Blueprints in 4.15 for use in an inventory. I created an Inventory that allows you to put items into it by placing an object into the center of the mesh that acts as the GUI and taking them out requires you to tap 'Inventory Slots' with your in game finger. Each slot is trigger by individual collision boxes. Each item that is added to the inventory is stored in a TMap variable and when an item is removed the corresponding Key is removed from the TMap.

The entire setup works perfectly except at some point while playing, during the process of adding to the inventory the entire project freezes but never actually crashes nor does it close on it's own (its not really random but it take a bit (roughly a minute or so) to get the freezing to occur). I end up having to use Task Manager to manually kill the process. Each time I'm hoping there would be some kind of log generated but there never is. I checked Engine/Saved/Logs, Project/Saved/Logs and the crash reporter directory at AppData/Local/etc....... but no logs were found other than output logs in the Project/Saved/Logs. I'm at a loss of what is causing the freezing since even my manual debugging is not producing any results and there is no crash logs being generated. However, the freezing has me wondering if there is a bug with TMaps that could be causing this.

Rather than bother with screenshots of code and video, I can share a copy of the project. However the project cannot be shared with the public so I'll send it to whoever ends up trying to take on this bug report.

Product Version: UE 4.15
Tags:
more ▼

asked Feb 25 '17 at 12:33 PM in Bug Reports

avatar image

BananaKing932
59 5 7 13

avatar image BananaKing932 Feb 25 '17 at 12:34 PM

I just discovered this and I'm not sure if this could be part of my problem.

https://answers.unrealengine.com/questions/567890/blueprint-tmap-find-not-returning-values-by-refere.html

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi BananaKing932,

I believe you are correct. The JIRA that Dan mentions in that post is the root cause that he is investigating (UE-6451).

more ▼

answered Mar 01 '17 at 09:00 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

(comments are locked)
10|2000 characters needed characters left
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