Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception: 'System.EntryPointNotFoundException: SwitchToThread #22

Open
kamleshdelat opened this issue Sep 18, 2018 · 3 comments
Open
Labels
Milestone

Comments

@kamleshdelat
Copy link

Getting error on unity app in Linux build

@jnm2
Copy link
Collaborator

jnm2 commented Sep 18, 2018

@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?

@kamleshdelat
Copy link
Author

kamleshdelat commented Sep 18, 2018 via email

@jnm2
Copy link
Collaborator

jnm2 commented Sep 18, 2018

@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!

@jnm2 jnm2 added the bug label Sep 18, 2018
@jnm2 jnm2 added this to the 0.4.0 milestone Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants