GetUpgrades() not working

Mikhail shared this bug 46 days ago
Reported

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 (1)

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

Leave a Comment
 
Attach a file