Major Ingame Script Compatibility Issues After Update 1.206.x
Hello Keen team,
Since the release of update 1.206.x . I allready submited a bug before, after the last hotfix, some scripts are working again, but others are still broken. When I correct the current error, alot new errors pop up. Several players, including myself, are experiencing the following issues:
1. `Cannot convert from List<T> to MemorySafeList<T>` or similar with Dictionary types.
2. `Feature 'local functions' is not available in C# 6. Please use language version 7.0 or greater.`
3. `Error: Identifier expected` in places that previously compiled correctly.
These problems seem to be related to the newly introduced `VRage.Scripting.MemorySafeTypes.*` classes, which are automatically injected into runtime scripts — possibly via ILInjector. This affects core collections like List and Dictionary, even though they were fully functional in earlier versions.
At the same time, Ingame Scripts are still compiled using **C# 6**, which doesn't support features like local functions. This creates contradictions: older scripts using C# 6 features now require structures (like MemorySafeDictionary) that are not properly documented, accessible, or intended for PB scripts.
We’d like to know:
- Is this a **deliberate API change** that we should adapt to?
- Or is it a **regression bug** that will be addressed in a future hotfix?
Right now, many well-known Workshop scripts no longer work, and new ones can't be maintained properly under these constraints.
Thank you for any clarification or roadmap on this issue!
Best regards,
Royal Rollin
Replies have been locked on this page!