SimpleLevelLoader class not found in AndEngine GLES2 - andengine

Am new in AndEngine. While working from a AndEngine Tutorial , following classes are not found. I tried with importing all libraries from AndEngine but class are still not found.
Classes are :
SimpleLevelLoader
EntityLoader
SimpleLevelEntityLoaderData
Please help me how to fix this.

After spending few hours finally I got the issue.
Actually I was using GLES2 which has no such classes .
For those classes we need GLES2-AnchorCenter, which is latest update from AndEngine. I only replaced GLES2 AndEngine with GLES2-AnchorCenter AndEngine and now Its working fine.
In AndEnginePhysicsBox2DExtension I replaced class named AreaShape with IShapein few classes.

Everybody is getting confused because the GITHUB download page for AndEngine has "GLES2" and not the "GLES2-AnchorCenter" as the default + at the AndEngine tutorial page the videos have embededed links that point to the default download page and don't highlight the fact that you have to choose the right branch from the branches dropdown menu. Most developers not familiarized with GITHUB (yes, there are a lot) won't even notice that.
It would be less error prone if we just point the user to the right branches
e.g. https://github.com/nicolasgramlich/AndEngine/tree/GLES2-AnchorCenter instead of the base one.

Related

Lighting looks diffrent in my project in Unity than this project in Unity

I am following a tutorial series on Youtube. Here's his channel btw (https://www.youtube.com/c/SebastianLague). On the github repository (https://github.com/SebLague/Procedural-Landmass-Generation) that comes from the video series explaining how to implement procedural generation (https://www.youtube.com/playlist?list=PLFt_AvWsXl0eBW2EiBtl_sxmDtSgZBxB3). I've followed his tutorial series up to episode 6. I wanted to compare what I have done and what he has done to see if what I wrote matched what he wrote. Everything seems fine expect for the lighting of the scene. It has boggled my mind since everything seems to be the same. I have the same project settings as the other scene. Here are some screenshots of what I'm talking about.
Sebastian Lague's Project
My Project
My theory is that it has to do with the version of unity I'm using, but I honestly don't think that's it. It's just weird that this is the case.

Using MRTK 2.4.0, Unity, Tutorials Do Not Work, Can't Figure Out How to Configure it to Work

Brand new HoloLens 2 using latest versions of all the tools. I can't get the most basic tutorial to produce the expected output. I have done the whole thing multiple times to ensure I am following the directions exactly. It builds in Unity and loads to my HL2 device. I have gone all the way to lesson 6 and things don't work as the documentation says. Can anyone point me to something that actually works for a point of beginning. Right now MRTK is just a trial and error operation. Thanks
There is a pretty annoying problem in the MRTK which is about 'solvers' and project built in Release ARM64.
MixedRealityToolkit-Unity Issue
It's probably a very specific case for a lot of people but I was naturally building like that all of my projects and MRTK demos and nothing was working as expected.
I spent a lot of time to identify what I was doing wrong.
Maybe you are in this case ...
As others guys asked, we need more infos about what is not working, your differents tries etc .. to help you.

Project looking for own DLL in another project

I'm currently trying to move a solution with multiple projects from VS 2015 to VS 2019.It consists of one application and a couple of class libraries, target framework for each is .net 4.5.1. I have made a local copy of the solution to do this.
Most of the projects compile without a problem, but some of the one that are used as AddIns for the application don't.
When trying to build, doesn't matter if the projects by themselves or the whole solution, it fails because it's looking for itself. In my example picture, the project ZZ_WPF_Bank_AddIn is, while trying to build, is looking for the ZZ_WPF_Bank_AddIn in the bin folder of another project in the solution.
I tried just copying the dll from the original project, to see what happens, but it just points to the same dll missing in another project.
Has someone encountered this behaviour before? I tried googling it, but couldn't find anything useful.enter image description here
For anyone who might stumble upon this:
The solution to my problem was removing all references to projects inside the solution and adding them via Browse, noch via the projects tab on the left side. For some reason the bindings were not working properly after the migration.

TypeLoadException after loading .NET 4.5 C# DLL into Unity 2018.2.5

I want to be able to feed the camera frames from a webcam into Unity. I made a .NET 4.5 C# DLL using MediaFrameReader and event listeners. Here is some other user's implementation for accessing the Hololens camera frames: Hololens - Access Camera Frames.
When I import the DLL into my 2018.2.5 Unity project, it gives me the following error:
Unloading broken assembly "....", this assembly can cause crashes in the runtime
TypeLoadException: Could not find method due to a type load error
The C# plugin built successfully many times on Visual Studio. Also, I have properly set the Api Compatibility Level (in player settings) to .NET 4.x. What could be the fix to this?
All the other SO answers related to this I have already taken a look, but does not seem to help the problem. Thanks for all the help.
EDIT: https://issuetracker.unity3d.com/issues/unity-fails-to-load-net-4-dot-6-assemblies-with-typeloadexception is the most relatable post, but had no solution.
I have few possible solutions for you to explore.
DLLs issues:
Workaround:
Comment your UWP code (the part that uses the DLL), then build it in UNITY without the DLL. In the generated UWP solution, install the package from nuget or manually import the dll, then uncomment your code and finish your development. This is a short-term solution.It is going to be annoying as you re-build your solution many times and have to comment/uncomment then re-add dlls and so on.
Other possible solutions:
Failed to run reference rewriter with command error with unity error when adding a DLL to the assets folder
Your exact need
From your description, you really do not need everything in the link you referenced (Hololens - Access Camera Frames). You need much simpler version. I recently created MediaCapture solution for HoloLens as a workaround because PhotoCapture in Unity is not working in the HoloLens and everything is working without any additional DLLs. I will post for you few links to see if it may help you:
MediaCapture Unity & HoloLens: https://github.com/MSAlshair/HoloLensMediaCapture
This maybe a good start for you. You can combine it with your original reference. Use this project as starting point to make sure your project is building correct, then use the necessary code from the other resource that you posted to accomplish the task that you desire. You may need to download Unity 2018.2.12f1 because I didn't test it in 2018.2.5
MediaCapture & PhotoCapture: Hololens font camera
Good Luck!

How can I see scala compilation error on the project tree of intellij?

As the screenshot shows, I want to see the compilation error in the project tree on the left.
This feature is usually active automatically. I searched the Scala plugin source on GitHub and couldn't find any uses of the class ProblemFileHighlightFilter which is the class extended to provide the feature you are talking about, so I think it's possible that they simply don't support it.
This feature is quite simple to add though so you can try reporting/requesting it. Their discussion pages are linked in the GitHub repos readme that I linked above.
Before you do though I would suggest quickly going through File > Settings to make sure it isn't just implemented in an unusual way and hiding behind a check box or something.