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 Nativization failiures and crashes

(using 4.15.1) Im trying to nativize a single blueprint, but when building and packaging the shipping build it fails and throws this error:

" UnrealBuildTool: H:/Unreal Projects/Game/Intermediate/WindowsNoEditor/NativizedAssets/Source/NativizedAssets/Public/MyCharacter__pf2132744816.h(1688) : Error: Unrecognized type 'IDamageInterface_C' (in expression TScriptInterface) - type must be a UCLASS "

The above interface is not used by this actor, but including this and a few other interfaces it would crash about would eventually result in a successfull build. However this crash would then happen when starting the game:

"LowLevelFatalError [File:H\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp][Line:2372] Missing import of (/Game/GUI/Options):item_64_8CC9D6DE4E32D2676D68E793B3CFBC11 in Package /Game/Blueprints/custom_struct was not found, but the package exists."

When instead trying to nativize a simple AI actor, this error is thrown:

" UnrealBuildTool: H:\Unreal Projects\Game\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public\MyHud_pf1597674660.h(6): fatal error C1083: Cannot open include file: 'HP_BAR_interface_pf2132744816.h': No such file or directory "

The AI actor has no reference or use of any widget HUD or hp_bar interface. The only actor that use or reference these is the player actor or the hud widget. The player actor however is referenced in the AI actor in a collision check where it runs some code if the player collides with the AI actor. It is a simple collision check with a cast to node using a collision box.

I can't find anything in the documentation that relates to these kind of issues or what could cause them. I am at a loss with this, any advice on how to proceed is greatly appreciated! Best Regards

Product Version: UE 4.15
Tags:
more ▼

asked Mar 25 '17 at 02:21 AM in Bug Reports

avatar image

MADHOUSE
378 23 37 59

avatar image Rudy Q ♦♦ STAFF Mar 27 '17 at 08:58 PM

Hello MADHOUSE,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?

  3. Could you provide screen shots of any settings/blueprints that may be involved with this issue?

avatar image MADHOUSE Mar 28 '17 at 01:22 AM

Greetings!

These issues and other occure also in new projects. I've compiled a simple test project. The steps for creating this project are:

  1. Create a new fps template project wihout starter content

  2. Setup the project for steam oss, async loading, add a couple of blueprints with some basic functionality, bp interface, struct and basic variables.

  3. Set the player blueprint to be nativized only using exclusive nativizing.

  4. Attempt to make a shipping build from the Project Launcher

The sample project can be downloaded here

1 The first issue trying to build this with asset nativizing from the Project Launcher is it crashing and complaining about the struct. alt text

2 Lets pretend that structs are unimportant and that we can remove any use of it. alt text

3 Now it will crash and complain about other actors headers missing, that are not set to be nativized. We add and include these actors aswell to be nativized.

alt text

4 Finally it will crash and complain about the bp interface not being nativized, so we also include this to be nativized and build a final time.

alt text

5 The build is seemingly successful.

6 Finally we try and launch the game executable only to get stuck in a black screen in an unresponsive window. (this is slightly different from my actual project where a error message pops up instead of a being stuck black screen, but the end result is the same.)

alt text

Im not sure what the problem is, I don't believe this is working as intended. Any steps to build the shipping build and use the nativization is done following the latest documentation.

Thanks for helping out, your assistance is greatly appreciated! /Best Regards

error.jpg (11.6 kB)
sad.jpg (51.9 kB)
happy.jpg (51.7 kB)
blackscreen.jpg (11.3 kB)
avatar image Rudy Q ♦♦ STAFF Mar 30 '17 at 03:53 PM

I tested the project provided and it appears to package out just fine when using the project launcher. I have not made any changes to the project that was provided. Could you download the zipped version of the project that was provided and insure that the issue still reproduces on your end. If so, could you let me know if there are any changes that I need to make to the project provided to reproduce this issue on our end?

avatar image MADHOUSE Mar 31 '17 at 01:51 PM

Thanks a lot for helping out. I've downloaded the file and the steps are as follows:

  1. Unrar file to UE project folder

  2. Open project

  3. Open project launcher in editor

  4. create profile and add/set these build/packaging settings: (no settings should have to be removed of the default checked ones)


  5. Project: TestProject

  6. Build: Shipping (UAT checked)

  7. Cook: By the book / Platform: WindowsNoEditor / Cooked maps: FirstPersonExampleMap / Create a release version for the game for distribution (checked and named) / Store all content in a single file (checked) / Cooker build configuration (Shipping) / Additional Cooker Options (-nativizeAssets)

  8. Package: Package and store locally

  9. Deploy: Do not deploy

When I run this I quickly get this crash: https://pastebin.com/giqkMks9

alt text

Thanks for your assistance. /Best Regards

crash.jpg (1.3 MB)
avatar image MADHOUSE Apr 18 '17 at 03:58 PM

Any updates?

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

1 answer: sort voted first

Hello MADHOUSE,

I was able to reproduce this issue the project provided. I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: https://issues.unrealengine.com/issue/UE-44123

Make it a great day

more ▼

answered Apr 18 '17 at 06:20 PM

avatar image

Rudy Q ♦♦ STAFF
47.3k 545 132 525

avatar image sks-xovangam May 01 '17 at 07:04 PM

Just to follow up, there are a couple different issues that were spawned off of this one (w/ suggested workarounds):

Once both of those issues are addressed, then we should be able to close out https://issues.unrealengine.com/issue/UE-44123.

Thanks for the info/report, hope this helps! -phil.

(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