Ced
NNormal
•Created by Ced on 2/6/2025 in #🤝ask-a-question
RealtimeDictionary: new issue with 2.13.2 ?
Hello, I used to clear my RealtimeDictionary this way in version 2.10.4:
while (blocks.Count > 0)
blocks.Remove(blocks.First().Key);
Where blocks is generated model from:
[RealtimeProperty(1, true, true)] private RealtimeDictionary<BlockDataRealtimeModel> _blocks;
However in version 2.13.2, RealtimeDictionary.Count seems not updated after a Remove.
Am I missing something ?
Is there a cleaner way to clear a RealtimeDictionary ?
10 replies