So I was trying to use ViGEm along with Unity, this is the steps I took trying to implement it:
- Downlaod NuGet package
- Extract the DLL from it and put it in the Unity project
- Follow the rest of the steps in the .NET feeder example
(I did this since the steps listed in the .NET feeder example doesn't work for Unity)
When I ran the program, this error appeared:
ControllerManager.cs, shortened:
public ViGEmClient vigem;
void Start(){
vigem = new ViGEmClient(); // EntryPointNotFoundException
}
Things I tried to fix this:
- Set Unity's API compatibility level to
.NET v4.x
(also I use Mono instead of IL2CPP if that makes a difference) - Set project target framework to
.NET Framework v4.5.2