Hello, im adding to this post as a response to this thread, since im about to test your garbage collector fix from yesterday (from
this thread), but there is still this issue with the "resolving correct Tuple namespace".
Paste what MS Visual Studio says:
Code: Select all
'Tuple<,>' is an ambiguous reference between 'MeshBoneUtil.Tuple<T1, T2>' and 'System.Tuple<T1, T2>'
AFAIK this should only happen in newer version of C# (which i am using in the project, might not happen to you, if you're using older C# version, or older Unity Engine version). Can i suggest you use 'MeshBoneUtil.Tuple' instead of 'Tuple' in your code to resolve the conflict? This will help me and others like me - to not have to refacture the plugin code every time we do a plugin update.
Example old code:
CreatureGameController.cs, 184
Code: Select all
var basis_pair =
new Tuple<XnaGeometry.Vector2, XnaGeometry.Vector2>(basis_start, basis_end);
Example same code after refactoring:
Code: Select all
var basis_pair =
new MeshBoneUtil.Tuple<XnaGeometry.Vector2, XnaGeometry.Vector2>(basis_start, basis_end);
EDIT: You're correct, your Tuples are in MeshBoneUtil namespace, and you did import the namespace in the class, but at the same time, you imported the System namespace in the same class, so i guess that creates the conflict for VS/Unity.