ashea-code / BLUI

Rich HTML UI engine for UE4
MIT License
861 stars 261 forks source link

Error during BLUI setup #96

Open Dorkside opened 7 years ago

Dorkside commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

dannyflint commented 7 years ago

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

zongtonggui commented 7 years ago

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

Dorkside commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

dannyflint commented 7 years ago

Zong, have you pulled the solution?

zongtonggui commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

dannyflint commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

override

In UMG, overload the mouse event @dannyflint

dannyflint commented 7 years ago

Hi everyone,

I have it totally working. No time to post my projects but i hope too soon - thanks so much


From: Zong [notifications@github.com] Sent: 29 August 2017 13:53 To: AaronShea/BLUI Cc: Daniel Flint; Mention Subject: Re: [AaronShea/BLUI] Error during BLUI setup (#96)

[override]https://user-images.githubusercontent.com/22297967/29821864-fa26ca20-8cfb-11e7-80ed-f68ee6e2b447.png

In UMG, overload the mouse event @dannyflinthttps://github.com/dannyflint

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/AaronShea/BLUI/issues/96#issuecomment-325654350, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aaf4rxK46x8WJ-fXqeXXT2yChKqID3yHks5sdAndgaJpZM4MQJq9.


This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com


Learners are at the centre of everything we do and we aim to lead excellence in learning for jobs and careers. We have three main campuses in South West London: Wandsworth, Merton and Tooting. We also deliver work-based training and community learning at sites across London. To find out more, visit www.south-thames.ac.uk.

This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise us of any errors in transmission.


This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com