MCUnderground
MCUnderground
CC#
Created by MCUnderground on 9/20/2024 in #help
NewtonSoft Serialization Exception
Got it working, by changing TypeNameHandling.All to TypeNameHandling.Objects.
11 replies
CC#
Created by MCUnderground on 9/20/2024 in #help
NewtonSoft Serialization Exception
Well version are same. De/Serialization works fine, until List is not involved, when list is involved, it has System.Private.CoreLib in $type(im using TypeNameHandling). Also since this is also Godot 4.3 C# building to android could be their problem, with dependencies. Just wanted to ask here, if this has any solutions and is a common error. I will write at Godots discord also, since building to Android with C# project is still new.
11 replies
CC#
Created by MCUnderground on 9/20/2024 in #help
NewtonSoft Serialization Exception
Well, i have not changed the version number, i made sure they both reference same dll. Will check about newtonsoft version since i am not sure if they are the same.
11 replies
CC#
Created by MCUnderground on 9/13/2024 in #help
✅ EFCore issues when removing an entity,
Hmm so in the same function,
var item2 = await _context.Items.Where(i => i.Id == request.Item2Id).Include(i => i.Data).ThenInclude(d => d.Collection).FirstOrDefaultAsync();
var item2 = await _context.Items.Where(i => i.Id == request.Item2Id).Include(i => i.Data).ThenInclude(d => d.Collection).FirstOrDefaultAsync();
var a = _context.ItemCollections.Include(ic => ic.Items).ToList();
var a = _context.ItemCollections.Include(ic => ic.Items).ToList();
item2.Data.Collection.List has 2 items. a.Items has 3 items. My brain is not braining sorry
8 replies
CC#
Created by MCUnderground on 9/13/2024 in #help
✅ EFCore issues when removing an entity,
No description
8 replies
CC#
Created by MCUnderground on 9/13/2024 in #help
✅ EFCore issues when removing an entity,
Update when i have three lvl 1 items, and combine two, the itemdata stays in the collection. so it is probably deleted when i have two of those items only combine them, and then itemdata is not used anywhere, but would it be?
8 replies