question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Managed assemblies loading only from sub-folders

See original GitHub issue

I have just created a new BP project, installed UnrealCLR, created a .NET Core class library, copied C# entry point code from the manual, added reference to UnrealEngine.Framework, built class library to Managed folder with dotnet build -o %Project%\Managed and then ran in editor.

I’m not getting any of the on screen debug messages which I’m assuming means the entry point isn’t working. The class library/framework dll’s are in the Managed folder.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
ScottKanecommented, Aug 13, 2020

Ok thanks for the info, will spend some time having fun with my own execution plan and see what I can come up with.

0reactions
nxrightherecommented, Aug 13, 2020

Yea, the approach here is very different. The framework is not following idioms of the engine, so you can organize the execution flow and stuff the way you like with full control over it and keep it all managed. So to reproduce the same approach as in your example, you can create an intermediate scripts manager to execute logic using the object-oriented design or any other one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to load assemblies from subfolders in .NET 6 / OpenEdge ...
In .NET Framework 4 you could define subfolders where to load assemblies from using assemblies.config file.
Read more >
Load assemblies with references from subfolders at runtime
I know the subfolder and filename when an Add-On is being loaded, so I simply use Path.GetDirectoryName(System.Reflection.Assembly.
Read more >
Best Practices for Assembly Loading - .NET Framework
The load-from context contains assemblies that are loaded from locations that are not searched by the loader. For example, add-ins might be ...
Read more >
Opening an assembly that contains parts from different folder
Hello. How to open fully an assembly that contain parts that are not in the main folder and are greyed out because of...
Read more >
Sub-Assemblies saved on different folder
I've managed to get it working with the full path. Perfect it would be only with the path inside the working folder. What...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found