Return to Unity Plugin

Cannot debug with latest Unity 2017 and latest GAF

All about Unity plug-in

Cannot debug with latest Unity 2017 and latest GAF

Postby Joey Liu » January 11th, 2018, 7:51 pm

Hi guys,

I am trying to debug my Unity project and I am unable to attach to the project because of the following errors:

Basically it requires several methods in GAFBakedObjectsManagerInternal to be overriden, but am not sure how - it seems these are not the type of methods we should be implementing.

Thanks,

Severity Code Description Project File Line Suppression State
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.cleanView()': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 155 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.clear()': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 171 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.clip': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 45 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.createObjects()': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 275 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.deepClear()': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 188 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.initialize()': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 114 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.objects': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 57 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.objectsDict': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 81 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.reload()': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 131 Active
Error CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.updateToFrame(Dictionary<uint, Data.GAFObjectStateData>, bool)': no suitable method found to override Assembly-CSharp C:\Projects\neomon_client\SpineTest\Assets\GAF\Scripts\Objects\Interfaces\GAFBakedObjectsManagerInternal.cs 198 Active
User avatar
Joey Liu
 
Posts: 1
Joined: September 16th, 2014, 3:05 am

Re: Cannot debug with latest Unity 2017 and latest GAF

Postby Valentin Radoi » January 17th, 2018, 2:10 am

Having the same problem here. GAF 5.2.9 doesn't seem to work with Unity 2017.3.0f3 in the sense that VS 2017 can't compile the project in order to Attach to Unity for debugging, giving lots of compilation errors like:

- CS0234 The type or namespace name 'Assets' does not exist in the namespace 'GAFInternal' (are you missing an assembly reference?)
- CS0246 The type or namespace name 'GAFTexturesResourceInternal' could not be found (are you missing a using directive or an assembly reference?)
- CS0246 The type or namespace name 'GAFAnimationAssetInternal' could not be found (are you missing a using directive or an assembly reference?)
- CS0234 The type or namespace name 'Data' does not exist in the namespace 'GAFInternal' (are you missing an assembly reference?)
- CS0311 The type 'GAF.Objects.GAFObjectsManager' cannot be used as type parameter 'ObjectsManagerType' in the generic type or method 'GAFAnimatorInternal<ObjectsManagerType>'. There is no implicit reference conversion from 'GAF.Objects.GAFObjectsManager' to 'GAFBaseObjectsManager'
- CS0115 'GAFBakedObjectsManagerInternal<TypeOfObject>.objectsDict': no suitable method found to override
- etc.

There are 111 of such errors in all GAF source files. I've tried removing GAF completely from the project and re-importing it, but it doesn't help.

Unity Editor itself does compile and run the project, and the GAF animations work normally inside the game at runtime, it's just that the parallel compilation & attachment from VS, needed for debugging, doesn't work.

I'm guessing it's some problem with a DLL compiled for an older version of Unity 2017 (just a guess), but basically this makes GAF unusable, as you can't debug your project with it around. Could we get an answer on this one, maybe it's just a quick fix, like recompiling some DLL with the latest Unity Editor or something.

Thanks!
User avatar
Valentin Radoi
 
Posts: 1
Joined: June 21st, 2016, 4:08 am

Return to Unity Plugin

Who is online

Users browsing this forum: No registered users and 1 guest