samcrow / rust-xplm

Rust interfaces to the X-Plane plugin SDK
Apache License 2.0
39 stars 15 forks source link

Unable to reload plugin while running, like ReloadPlugin ( MacOS ) #5

Open sprhawk opened 3 years ago

sprhawk commented 3 years ago

I'm working on MacOS version X-Plane 11.50 rust-xplm: 0.3.1

Only executed "xplm_sys::XPLMReloadPlugins();" in action item. plugin built by rust-xplm not reloaded, but built by C++ ( plugin from official examples ) is reloaded.

example url: https://github.com/sprhawk/xplm-rs-example

sprhawk commented 3 years ago

I tested under Windows 10, it works.

samcrow commented 3 years ago

This looks like an interesting problem. Unfortunately, I can't test it myself because I don't have a working Mac that can run X-Plane.

leecbaker commented 3 years ago

@sprhawk Your example plugin works fine for me. When I select the reload item in the menu, it does reload plugins.

Mac OS 11.4 (20F71) X-Plane 11.53