BLUI Open Source HTML5/JS/CSS HUD/UI

[QUOTE=paulv2k4;360233]
Make sure you are running the BLUI tick every tick inside your game mode

I am still not seeing anything (and I fixed another bug in my blueprint). The tick function is definitely running (I put a print node to test), and I see no warnings in the logs.

](http://new.tinygrab.com/37897525d48494be9aae38db607ec8d316fc5d8b12.png)

[QUOTE=Brandon Wamboldt;360547]
I am still not seeing anything (and I fixed another bug in my blueprint). The tick function is definitely running (I put a print node to test), and I see no warnings in the logs.

](http://new.tinygrab.com/37897525d48494be9aae38db607ec8d316fc5d8b12.png)

You should have the tick function in your Level blueprint rather than the actual widget.
Also try setting brush from Texture and using the raw texture, not setting it form a dynamic material.

[QUOTE=paulv2k4;359426]
Hi ,

Do you have any idea how to get Select -> Option drop down lists to work in CEF? As every time I use them the application crashes. I am pretty certain it is a CEF problem.

My google searches do not show any good results. :frowning:

Thanks.

That is indeed an issue with CEF, Iā€™ll have to look into a fix for this as it may need to be rendered in another texture and then layered on top of the existing one.
That could be quite a fix with college fast approaching, again.

[QUOTE=DrHobo;359358]
Hi .

Do you have any more specific directions on the CloseBrowser() node ?

When I call it, an assertion is lifted in UObject::BeginDestroy() on line 543:

// Sanity assertion to ensure ConditionalBeginDestroy is the only code calling us.
if( !HasAnyFlags(RF_BeginDestroyed) )
{

}

EDIT: I actually have fixed this issue in the latest push to the master branch. Take a look at: https://github.com//BLUI/commit/250f6e5f7da7a6b805062604a49704f964b5e704

This has also been patched in the current release on GitHub.

[QUOTE=;363555]
That is indeed an issue with CEF, Iā€™ll have to look into a fix for this as it may need to be rendered in another texture and then layered on top of the existing one.
That could be quite a fix with college fast approaching, again.

Thanks .

Donā€™t worry about it for now. I have used ā€œselectizeā€ to solve the issue.

If anybody wants select tags to work use this: https://github.com/brianreavis/selectize.js

ā€¦

More questions ( if you donā€™t mind :slight_smile: )
I thinking about the rendering resolution of BLUI. If you start the game in a lower resolution then increase the size of the window it does not scale with it, so you end up with a blurry front end. Iā€™m sure I read somewhere you managed to get scaling/resizing working? Could you point my in the direction to add it to my solution please? I am useless at reading through forum threads!

ā€¦ EDIT, demonstrate selectize working :wink:

[QUOTE=paulv2k4;364104]
Thanks .

Donā€™t worry about it for now. I have used ā€œselectizeā€ to solve the issue.

If anybody wants select tags to work use this: https://github.com/brianreavis/selectize.js

ā€¦

More questions ( if you donā€™t mind :slight_smile: )
I thinking about the rendering resolution of BLUI. If you start the game in a lower resolution then increase the size of the window it does not scale with it, so you end up with a blurry front end. Iā€™m sure I read somewhere you managed to get scaling/resizing working? Could you point my in the direction to add it to my solution please? I am useless at reading through forum threads!

ā€¦ EDIT, demonstrate selectize working :wink:

Hello!
Sorry again for the late reply, busy lately.
There is a new resize method in 3.1, pull off the BluEye node and use the Resize method. It will return a new reference to the resized texture!

Does this work on Xbox1 and PS4? Also are their are issues using it in a VR game?

Thanks so much, sorry if these questions have been answered.

[QUOTE=BarrettMeeker;368105]
Does this work on Xbox1 and PS4? Also are their are issues using it in a VR game?

Thanks so much, sorry if these questions have been answered.

OSX, Windows, and Linux are the only supported platforms.
I donā€™t have a licence from Sony or Microsoft for development.

VR should work just fine, just keep in mind the double cameras.

Iā€™ve been trying to use BLUI with UE 4.9 and its failing in the very first step of the Simple Setup (Windows 64 Bit).

After throwing the BLUI folder into my projectā€™s plugins folder, regenerating the visual studio project (from the .uproject fileā€™s context menu) fails with this message:



Running C:/Dev/Unreal/Epic Games/4.9/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Dev/Unreal/Projects/Test1/Test1.uproject" -game -rocket -progress
Discovering modules, targets and source code for game...
ERROR: Unable to instantiate instance of 'Blu' object type from compiled assembly 'Test1ModuleRules'.  Unreal Build Tool creates an instance of your module's 'Rules' object in order to find out about your module's requirements.  The CLR exception details may provide more information:  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Dev\Unreal\Projects\Test1\Plugins\BLUI-master\ThirdParty\cef\Win\shipping'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at Blu..ctor(TargetInfo Target) in c:\Dev\Unreal\Projects\Test1\Plugins\BLUI-master\Source\Blu\Blu.Build.cs:line 63
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object] args, CultureInfo culture, Object] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object] args, CultureInfo culture, Object] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object] args)
   at UnrealBuildTool.RulesCompiler.RulesAssembly.CreateModuleRules(String ModuleName, TargetInfo Target, String& ModuleFileName)


Trying to regenerate things by opening the project from the Epic Games Launcher ("Would you like to rebuild them now?) fails with a useless error message.

Is BLUI supposed to work with UE 4.9?

Hello, Iā€™ve tested with 4.9. Did you download from releases? Required binaries are not on the GitHub repo, but are in the release zips.

[QUOTE=;381175]
Hello, Iā€™ve tested with 4.9. Did you download from releases? Required binaries are not on the GitHub repo, but are in the release zips.

Got it working by downloading release 3.1 for windows and using the Simple Setup (Windows 64 Bit) guide from the wiki.

I didnā€™t even know the releases page existed at first because my adblock decided to make the releases link button at the start of the GH page look like a small broken image link. Now that I have scolded adblock and the button works, its still a really tiny button, smaller than githubā€™s ever-enticing ā€œDownload ZIPā€.

By the way, the Simple Setup (Windows 64 Bit) speaks of a ExampleHUD asset and I did get things working with it, but I had to grab that asset file from the release version 1.0 zip, because it doesnā€™t seem to be included in release version >= 3.0. If its still meant to be used, maybe you should actually include it in the latest releases.

[QUOTE=Samichama;381738]
Got it working by downloading release 3.1 for windows and using the Simple Setup (Windows 64 Bit) guide from the wiki.

I didnā€™t even know the releases page existed at first because my adblock decided to make the releases link button at the start of the GH page look like a small broken image link. Now that I have scolded adblock and the button works, its still a really tiny button, smaller than githubā€™s ever-enticing ā€œDownload ZIPā€.

By the way, the Simple Setup (Windows 64 Bit) speaks of a ExampleHUD asset and I did get things working with it, but I had to grab that asset file from the release version 1.0 zip, because it doesnā€™t seem to be included in release version >= 3.0. If its still meant to be used, maybe you should actually include it in the latest releases.

Ah youā€™re right, it seems that slipped out of my build flow.
Iā€™ll be including that in the next release!

Thanks for reporting that

Can you provide an example of how to use gettexture with the new system rather than getmaterialinstance?

[QUOTE=SDRLabs;383396]
Can you provide an example of how to use gettexture with the new system rather than getmaterialinstance?

Hello! Iā€™ll get on that for the next release. Iā€™m currently in the midst of college at the moment. So Updates may be a little slower than usual!

Hello,
I am no programmer, I use mostly blueprints but some C++. However I am unable to install the newest version of this plugin to version 4.8.4. I put the files were the readme says to. I open the editor and project and can seen the plugin under the plugin menu. When I check it active and restart the editor, it does not load. It produces an error saying it cannot locate the bluibuilder. I am unsure of how to fix this. Sorry for the dumb question but I have exhausted my skills on this matter and hope you can help. Thank you so much.

I assure you I would applaud you if this plugin was easier to setup. So, I have a few questions for you to see if I have it setup correctly indeed or am missing something.
First, what version of the UE4 editor does the BLUIDemo compile and run in successfully (with no workarounds require or re-build)?

What demo am I referring to? This one -

This is the error I received,

CY6GXyN.png

I canā€™t get this demo to work in 4.9, 4.8 or 4.6.1
and the documentation doesnā€™t say what version it uses, so itā€™s obvious that you just assume everyone is working with the latest UE4 editor version, which 4.9 (Iā€™m guessing is new, would be 4.8) but nope couldnā€™t get the demo loaded
received the following error I attached above even after opening up it Visual Studios and build the project and receive 1 message of use deprecated override function but other than that a successful build , but I never received any blui dllā€™s in the build/win64 folder

I would like to have a project shared with me and what version I need to use for it to be up and running please, and Iā€™m sure, definitely will be a big fan!

plugin tool, downloaded 3.1 read the wiki used it in UE 4.9 great tool! =)

[QUOTE=Imonin;385984]
Hello,
I am no programmer, I use mostly blueprints but some C++. However I am unable to install the newest version of this plugin to version 4.8.4. I put the files were the readme says to. I open the editor and project and can seen the plugin under the plugin menu. When I check it active and restart the editor, it does not load. It produces an error saying it cannot locate the bluibuilder. I am unsure of how to fix this. Sorry for the dumb question but I have exhausted my skills on this matter and hope you can help. Thank you so much.

Hello, sorry for the late reply. Been tied up with college classes.

Are you using a C++ project or a blueprints project?

Great plugin. Still getting my head around some of it.

EDIT: Disregard the resize stuff - just spotted a line in a comment above that solved the problem!

Oh, and from time to time this happensā€¦

If I use the scroll-wheel over the webview actor, UE starts dumping blank windows every tick. Could be a Win10 issue, but Iā€™ve never seen it happen before using BLUI :wink:

[QUOTE=Crow87;391432]
Great plugin. Still getting my head around some of it.

EDIT: Disregard the resize stuff - just spotted a line in a comment above that solved the problem!

Oh, and from time to time this happensā€¦


If I use the scroll-wheel over the webview actor, UE starts dumping blank windows every tick. Could be a Win10 issue, but Iā€™ve never seen it happen before using BLUI :wink:

Oh wow, thatā€™s an interesting bug. Iā€™ll be testing that now

EDIT: Are you using this on the HUD or as an Actor in the world?