GetUpgrades() not working

Mikhail shared this bug 5 months ago
Solved

Hi. I try to get data from refs using GetUpgrades()

Use code:


Dictionary<string, float> refsUpgradeList;

var upgradeBlock = refs as IMyUpgradableBlock;

upgradeBlock?.GetUpgrades(out refsUpgradeList);

I get error: cannot convert from out Vrage.Scripting.MemorySafeTypes.MemorySafeDictionary to out System.Collection.Generic.Dictionary

Files: SCR.jpg

Replies (2)

photo
1

Hello Mikhail,

Thank you for reaching our forum and letting us know about this issue.

We have added this issue into our internal system.

Kind Regards,

Keen Software House: QA Department

photo
1

Hello Engineer,

We would like to inform you that the issue you reported has been fixed in the 1.207 (Apex Survival) update.

If you encounter any other problems, please don’t hesitate to create a new thread.

I’ll now close this one as solved.


Kind Regards,

Ludmila Danilchenko

Head of Space Engineers QA Department

Leave a Comment
 
Attach a file