Why was Blueprint Nativization removed? (NO code preaching)

Every single time I tried to nativize something, it just didnt work.

In some cases UE4 couldnt even count properly anymore, despite this being simple calculations etc. that worked fine in BP.

Improving BP performance is probably the better approach.

4 Likes

I had the same problem with nativization. Colliders stopped working for me.

Very much hoping that something is still being worked on, though, because for indie titles, a 100% blueprint based game should be a possibility if Epic really wants Unreal to be used by everyone.

2 Likes

Iā€™m not sure I ever had it work when I tried it. It would be a nice thing to have if it didnā€™t usually brick the project being turned on. I think it especially hated enum use each time I tried for some reason. It usually broke things in unusual ways if it survived packaging. Itā€™s been several versions since I tried enabling it though.

They might solve the nativization issue like some Java tools allow to generate native code directly. They could almost match C++ compiled performance this way which would be more reliable than the nativization thing they couldnā€™t manage to complete and make it work properly.

Turn Your Java Application Into a Binary

GraalVMā€™s native-image tool converts a Java application into a native binary. It isnā€™t just a repackaging of the application. The Java byte code compiles into native code ahead-of-time (AOT). This native code runs on a Substrate VM, a minimal virtual machine separate from the Java Virtual Machine. Without (just-in-time) JIT compilation, applications can start faster with less memory. As a side effect this simplifies running Java applications, removing the need for long shell scripts that resolve $JAVA_HOME and setup the classpath.

# GraalVMā€™s Polyglot Support

One of the popular features of GraalVM is the ability to run other languages alongside your Java code. For example, you could use GraalVM to execute some JavaScript, R, or Python from your Java code. This is beneficial if you need to share code between different programming languages, or if you wanted to take advantage of running Node with a large heap and Javaā€™s garbage collector.

Iā€™m developing game since about two years ago, with nativization.
At now, thereā€™s no problem and I feel good, though I had to keep in some restrictions to use nativization.

Yes. At early times, It was very painful. There were lotā€™s of problems with nativization.

But within struggling of monthes, I found some way to evade those problems.
(I pasted the URL of related issue)

In most cases, problems seems to be based on relation with navitized or c++ native class and non navitized class. The result was packaging/cooking failed or crash on runtime.

But After I evade with those ways from problem of relations with none nativazed things and nativized (or c++) things, I did not face the problem about nativize at all. It makes me feels those painful debugging was lie.

With those restrictions, Blueprint losses some merits. I know. Itā€™s not small. But still, Blueprint has itā€™s powerful things.

(I have to tell Iā€™m developing singleplay game, not multiplayer. So there will be the other problems about replication.)

The right to make decision is belong to Epic Games. But I donā€™t want Epic Games to give up on this. Navitization is still powerful, and it has not small potential though itā€™s problems. It makes Blueprint faster hundreds times. You might think like this: ā€œIf you have good cpu, thereā€™s no problem.ā€ But, You know. There are lotā€™s of cases it need more faster speed on Blueprint, when we development game.

I also want to mention that for newbies considering using Unreal Engine, the nativization looks very, very attractive. In my case, it was. I was game designer with very little knowledge about programming. But the nativization of Blueprint gave me the courage to become Indie game developer, with Blueprint itself.

At first, I planned make my game with 100% BP. I gave up that now (Yes. c++ is very faster and I needed that in some casesā€¦) But still almost things of my game is BP. Nativization is still giving to me much power now.

I hope that the this is a temporary stage to get initial stability of UE5.

Please.

9 Likes

Very interesting post. Would be great if UE Staff would respond with their take on this. Thanks for sharing

2 Likes

Thatā€™s very bad . Iā€™m disappointed of that. I hope to see Nativization feature in the next releases

Funny to see that Nativization is still in the UE5 documentation and no mention that it was removed (what is the case because there is no setting anymore in the project settings in 5.0.2): Blueprints Visual Scripting in Unreal Engine | Unreal Engine 5.0 Documentation

Also funny to see they sayed

Here at Epic, weā€™ve successfully used Blueprint Nativization while developing our newest VR title, Robo Recall

So it canā€™t be that bad I guess, letā€™s hope they add something similar or even betterā€¦

2 Likes

I recently started to learn Unreal Engine 5 using Bluprints only. A week later I wanted to start using C++ but I realized itā€™s not easy or even possible for my PC to handle it. Visual Studio 2022 uses very high amount of RAM and CPU as well (My pc is old and it has 12GB RAM). So I decided to go back to Blueprint-only projects. Shortly after that I discovered Blueprint Nativization which was extremely exciting. Now I see it is goneā€¦

  1. Is it possible use UE4 for blueprint nativization, if it is possible which version do you suggest?
  2. Is there any news regarding blueprint nativization or any other feature to replace it?
  3. Is it feasible to create (small) C++ projects with Unreal Engine 5 using an old PC with 12 GB RAM? (I did several tutorial projects with UE5 with BP-only already and my PC handled it well.)

My PC: Old 4-Core 4GHz CPU, 12GB RAM, GTX 1080 and 1TB SSD.

  1. Higher version is usually the better, altho i havenā€™t had to use nativization since 4.19. Try 26 or 27, both should work. FYI Nativization was always been a very picky experimental stuff, donā€™t think of it as a 1:1 bp to c++ magic conversion, it is far from it.
  2. Verse might be considered an alternative (not out just yet), as well as other scripting languages may help (eg unreal js) in some cases.
  3. Hot reload is not quite recommended approach, so you might as well exit the editor, update the code and compile, before running ue5 again (not from vs, but run the uproject from explorer). This way you can better manage the ram usage and get away with less , since vs debugging and hot reload usually have the heavy impact.
  1. Buy more ram, the time has come.

If you limit compilation to 1 process, maybe 12 GB will be enough for you. But doubtful.

Epic Is Making Things Worse.
blueprints nativization was really helpful in mobile development for large projects. in my project it decreased loading times, increased overall performance, huge multiple loops are running like nothing is happening in the background. i updated my project to unreal engine 5 and everything is basically worse. chaos vehicles sucks, world partitioning makes alot of stuttering in the game and blueprint nativization has been removed, putting aside that the Unreal.so filesize is over 300mb even with hidden symbols enabled making the apk file size unnecessarily huge.

i think iā€™ll manually migrate my project back to UE4.24

thatā€™s really disappointing i was so excited for chaos and unreal 5 but it turned to be an absolute joke.

2 Likes

Has anyone read the 5.1 roadmap?

5 Likes

Blueprint Header Preview, implies it will generate a skeleton overview of a blueprint in C++ header file. So not a full auto conversation to c++. If they are creating this, then it sort of implies something was actually broken with Nativization in UE5 and the original One Man Team, from Poland, is no longer available or willing to fix it. The Blueprint Nativization project was something he worked on as pet project in his spare time and then was added to UE4 offifically (at least from what I remember in the Epic Video talk, i could be wrong) And it would be difficult for another Dev to figure out how his magic code worked.

6 Likes

Chaos is broken if your pawn are based on physics you are glitching trough walls ladders ā€¦ CCD also not working Chaos is really a chaos. Then you have with UE5 out of the box less FPS like on UE4. Blueprint Nativization are a topic on the UE5 documenation but you cant find Nativization on the engine self. Then the engine crashes all the time. If you report a bug epic ignores it.

Better to continue programming in the UE4 or to switch to a other engine.

This is getting really depressingā€¦ :frowning:

4 Likes

An official statement about the removal of Blueprint Nativization would be really nice, Epic Games!

4 Likes

UE5.2 is already out, but there is still nothing official to comment on this matter?
If you have been using Nativization in UE4, how did you handle it?

Maybe there is a plugin that nativization Blueprint for 5.3.1?

5.3 is out, still no word about itā€¦

I think this might help us