exception: 'System.EntryPointNotFoundException: SwitchToThread
Getting error on unity app in Linux build
@kamleshdelat This library does not contain a p/invoke call to SwitchToThread, so it's likely that the problem is not related to this repository. If you remove AsyncBridge from the mix, do you still have the issue?
No I think This issue of TPL
On Tue, Sep 18, 2018 at 6:43 PM Joseph Musser [email protected] wrote:
@kamleshdelat https://github.com/kamleshdelat This library does not contain a p/invoke call to SwitchToThread, so it's likely that the problem is not related to this repository. If you remove AsyncBridge from the mix, do you still have the issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OmerMor/AsyncBridge/issues/22#issuecomment-422387968, or mute the thread https://github.com/notifications/unsubscribe-auth/AEn7A5DJXBI8_G84a7FouD1Q3Zq_-OA9ks5ucPGUgaJpZM4WtSpm .
@kamleshdelat Oh, good call! https://www.nuget.org/packages/TaskParallelLibrary/ does indeed p/invoke SwitchToThread. We don't have access to the source code for that library; the DLL was published by Microsoft a very long time ago as part of Reactive Extensions. This issue is in the same boat as #12 then.
v0.4.0 of AsyncBridge is dropping the dependency on TaskParallelLibrary: https://github.com/OmerMor/AsyncBridge/tree/no_dependencies. What remains is mostly testing. Once I get 0.4 released, this problem should be resolved. I'll let you know when there's a prerelease to test!