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"

Editor crashes when using undefined Enum in Behavior Tree Decorator

Hi,

I just ran into a bug which causes the Editor to crash instead of giving an error message.

This is all done in BP. Let's say I create a custom enum for saving some BotData. Then I create a Blackboard type. Inside this I create a key which is of the type Enum, however I fail to specify the type of Enum here ( this should have been the custom Enum I created, but lets say I just forgot ). Then I create an object of BehaviourTree associated with the Blackboard type data, Inside this I create a selector as a child of the root ( In my exact setup if it matter I had Root->Selector->Selector). In the selector on the leaf of this tree I set a decorator of type Blackboard. Then I choose the Blackboard Key as the Enum key I created in the Blackboard data. As soon as I do this the editor crashes because I didn't specify the type of Enum in the Blackboard data. I expected it to give me an error and give me an opportunity to fix it rather to loose my work :)

Best,

darkZ

Product Version: Not Selected
Tags:
more ▼

asked Aug 28 '14 at 04:03 PM in Bug Reports

darkZ gravatar image

darkZ
240 16 18 36

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

1 answer: sort voted first

Hi,

Thanks for the report! Also thanks for the clear set of repro steps.

I have just submitted a fix for this (as by coincidence I was working on this are of code at the time!). It is available in GitHub master branch at this commit.

more ▼

answered Aug 29 '14 at 11:34 AM

Tom Sarkanen gravatar image

Tom Sarkanen STAFF
1.7k 37 10 49

(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