GithubHelp home page GithubHelp logo

Not working in UE 5.1 about unreal.js HOT 10 OPEN

Hannessa avatar Hannessa commented on June 2, 2024
Not working in UE 5.1

from unreal.js.

Comments (10)

getnamo avatar getnamo commented on June 2, 2024 3

This changelist may be helpful for updating Unreal.js to 5.1: getnamo/UnrealJs@3836ff2. Largely changed FEditorStyle to FAppStyle

and getnamo/UnrealJs@733c763 for re-enabling logging.

There are still some deprecation warnings on compile, but it does run.

from unreal.js.

Hannessa avatar Hannessa commented on June 2, 2024 3

That's amazing. I just tested it, and it runs out of the box. Thanks so much for fixing this! This should really be merged into the original repo. Great job!

from unreal.js.

getnamo avatar getnamo commented on June 2, 2024 2

Made minor fixes and made a fork release (win64) for 5.1: https://github.com/getnamo/UnrealJs/releases/tag/v0.7.0

from unreal.js.

dustout avatar dustout commented on June 2, 2024 1

I ran into the same issue and ended up rolling back to UE5, am happy to know I am not the only one having this problem

from unreal.js.

dochigun-nc avatar dochigun-nc commented on June 2, 2024 1

UE 5.1 supported version has been pushed.

from unreal.js.

Hannessa avatar Hannessa commented on June 2, 2024

Here's a list of the compile errors I get:

image

from unreal.js.

Hannessa avatar Hannessa commented on June 2, 2024

I managed to solve half of them by just adding

#include "EditorStyleSet.h"

at the top of SJavascriptGraphEdNode.cpp

from unreal.js.

Hannessa avatar Hannessa commented on June 2, 2024

Yeah, same here, good to know! I also rolled back, but I do want to start switching to UE5.1 soon thanks to the much improved foliage rendering.

I also added:
#include "EditorStyleSet.h"
to JavascriptEditorTab.cpp (on row 5 below #if WITH_EDITOR)

and I'm now down to 17 errors. So that gives me some hope that it might mostly be easy fixes.

image

Not quite sure why this didn't generate errors before, and I can't find any info about this EditorStyleSet.h in the UE 5.1 release notes. But maybe it's just a newer compiler or something that is less forgiving.

from unreal.js.

dustout avatar dustout commented on June 2, 2024

I'm cheering for you! I'll take a deeper look in the evening and see if I can figure it out as well, fingers crossed that one of us can solve this problem.

from unreal.js.

Johnly1986 avatar Johnly1986 commented on June 2, 2024

@dochigun-nc The new version can't run the example normally, and input "GWorld" in the JavaScript console prompts an undefined error.

from unreal.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.