space928 / Omsi-Extensions

Omsi hooking and modding sdk
GNU Lesser General Public License v3.0
16 stars 3 forks source link

OmsiRemoteMethods are not initialised, remote memory allocator cannot be used!) #103

Closed Burst99325 closed 1 month ago

Burst99325 commented 2 months ago

hook.Globals.PlayerVehicle.SetStringVariable(...) causes this exception:

"One or more errors occurred. (OmsiRemoteMethods are not initialised, remote memory allocator cannot be used!)"

space928 commented 1 month ago

I'm just copying what you found out on Discord here, to remind myself when I come back to this:

This issue is that the OMSI_PLUGIN is still being used in Memory.cs image

Burst99325 commented 1 month ago

Line 1108 and 1145 in Memory.cs