Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Error during BLUI setup #96

Open
Dorkside opened this issue Mar 1, 2017 · 16 comments
Open

Error during BLUI setup #96

Dorkside opened this issue Mar 1, 2017 · 16 comments

Comments

@Dorkside
Copy link

Dorkside commented Mar 1, 2017

THis error occurred when trying to Generate Visual Studio project files

Running D:/Tools/Epic Games/4.15/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="D:/Documents/Unreal Projects/BLUITest/BLUITest.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
ERROR: Unable to instantiate instance of 'Blu' object type from compiled assembly 'BLUITestModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.  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: Une exception a ?t? lev?e par la cible d'un appel. ---> System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d'acc?s 'D:\Documents\Unreal Projects\BLUITest\Plugins\BLUI\ThirdParty\cef\Win\shipping'.
   ? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   ? System.IO.FileSystemEnumerableIterator`1.CommonInit()
   ? System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   ? Blu..ctor(TargetInfo Target) dans d:\Documents\Unreal Projects\BLUITest\Plugins\BLUI\Source\Blu\Blu.Build.cs:ligne 58
   --- Fin de la trace de la pile d'exception interne ---
   ? System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   ? System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   ? System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   ? System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   ? System.Activator.CreateInstance(Type type, Object[] args)
   ? UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, TargetInfo Target, FileReference& ModuleFileName)

Any idea what the cause is ?

@TTimo
Copy link

TTimo commented Mar 15, 2017

I think the critical piece of info there is 'D:\Documents\Unreal Projects\BLUITest\Plugins\BLUI\ThirdParty\cef\Win\shipping' not found.

cef is a submodule, which you may need to compile first? (I'm just guessing I haven't tried using blui yet)

@dannyflint
Copy link

When attempting to generate the Visual Studio files I get an identical error. I am trying to open the demo file, with the supposed UE4.1.5 update. Dorkside, if you managed to fix this please come to my aid

Running K:/Programs/EPIC/UE_4.15/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="K:/BLUIDemo/BLUIDemo.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
ERROR: Unable to instantiate instance of 'Blu' object type from compiled assembly 'BLUIDemoModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. 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 'K:\BLUIDemo\Plugins\BLUI\ThirdParty\cef\Win\shipping'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at Blu..ctor(TargetInfo Target) in k:\BLUIDemo\Plugins\BLUI\Source\Blu\Blu.Build.cs:line 58
--- 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.RulesAssembly.CreateModuleRules(String ModuleName, TargetInfo Target, FileReference& ModuleFileName)

@TheModdersDen
Copy link

TheModdersDen commented May 20, 2017

I'm having the same issue as well on the 4.16 preview 3 build. @AaronShea Any fix as of yet?

@dannyflint
Copy link

I just gave up eventually so if you figure it please let me.know. Thanks.

@zongtonggui
Copy link

Did you solve the problem? I'm having the same issue as well on the 4.15. @dannyflint @Dorkside

@Dorkside
Copy link
Author

Dorkside commented Jul 3, 2017

Not using BLUI anymore in my project, shifted to a very different setup combining UE4 and electron.
Just a hunch though, might be a space in the project path.

@Dorkside Dorkside closed this as completed Jul 3, 2017
@Dorkside Dorkside reopened this Jul 3, 2017
@Dorkside
Copy link
Author

Dorkside commented Jul 3, 2017

Since I'm not using BLUI anymore could anyone having this problem confirm this works ?
I remember having read somehting like this indeed, might have solved the problem back then.
Thanks for the update anyways :-).
I'll close the post as soon as somebody confirms the solution.
Cheers

@dannyflint
Copy link

I'm on my way home from work now and will try and dig out my project and see if the solution works.

@dannyflint
Copy link

Zong, have you pulled the solution?

@zongtonggui
Copy link

I had two problems in my project.
The first question is this one.But I forgot how it worked out .Maybe you should regenerate your project?
The second question is that program starts for a long time after packing.I had solved second problems.

Would you like me to send you a correct project? It is set up well。

Let me look at the first question again.

@dannyflint
Copy link

Your English is fine. Thanks for that. Last night I spent some time getting it working in 4.16 using a fixed plugin shared in one of the other threads above this one. I haven't got interactivity working yet, but I can see webpages in UE4 ... I was hoping to look at that today

@zongtonggui
Copy link

Congratulations!Good luck~ It's not difficult, it just needs to overwrite slate.

@dannyflint
Copy link

Hey I managed to get your demo loading up the UI but again Im not really sure how to get.interactivity working. Any tips?

@zongtonggui
Copy link

@dannyflint Sorry, I did not see this information until now。In Level Blueprint,,You should do a Tick. In new widget Blueprint ,You can see the operation of loading the UI.If you want to interact, you should overload the event.
I hope you have solved this problem.Very sorry, Git did not inform me of your reply.If you want to contact me faster, you can contact my email :876993089@qq.com or QQ 876993089.If I received the news, I would reply you as soon as possible.

@zongtonggui
Copy link

override

In UMG, overload the mouse event @dannyflint

@dannyflint
Copy link

dannyflint commented Aug 29, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants