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"

Crash on load due to reference to blueprint generated class

Hi,

I'm running 4.4.2 from the launcher and stumbled across a situation which causes a crash on project load. I was able to work around it but I figured I'd provide my project to the devs to improve engine stability.

In my Settlement blueprint, there's a function named Start Building Placement. The function has one parameter which is a blueprint generated class (class 'Building_C'). The intention is to pass in a child class of Building. There's a call to the function in the Interaction graph.

The bug here is very reproducible. Setting the parameter on the function call (using the dropdown on the function node) to any subclass of Building_C causes the project to crash when next opened. Setting the parameter to None or to Building works fine. I tried creating new blueprint children of Building and they, too, cause a crash on load.

My workaround was just to avoid using a function where I pass in a class Building_C. Passing in a Building object works fine. I know that passing blueprint generated class references as function parameters should work - in fact I'm doing the exact same thing successfully in that same blueprint (passing the class Unit_C). I don't know what's wrong with the Building_C class.

Attached is the (rather unhelpful) log and a barebones copy of my project. It's currently configured to cause the crash on startup, but that can be avoided by removing the Settlement blueprint while the project loads.

Thanks!

Product Version: Not Selected
Tags:
rttlog.txt (22.0 kB)
rtt.zip (1.3 MB)
more ▼

asked Sep 15 '14 at 04:08 AM in Bug Reports

avatar image

dbc211
121 6 8 14

avatar image TJ V ♦♦ STAFF Sep 15 '14 at 10:09 PM

Hi dbc221,

I'm getting the crash even with the Settlement blueprint removed. Any ideas what other blueprint maybe causing the crash?

avatar image dbc211 Sep 16 '14 at 01:14 AM

Hmm, removing only that blueprint works for me. No other blueprints are using the same tactic, so I'm not sure what the issue could be. There are a couple native classes that I couldn't remove, hopefully it's not them. You could try temporarily removing the whole blueprints folder. At least there's a reproducible crash, though :)

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

1 answer: sort voted first

Hi dbc211,

Thank you for the feedback. We will be looking into the issue and if we find the cause we will post back here. We have made several fixes to child/parent blueprints for the next editor release, so this issue may be fixed by then.

TJ

more ▼

answered Sep 22 '14 at 05:18 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

avatar image dbc211 Sep 22 '14 at 07:38 PM

Very much appreciate the update, thanks!

(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