Closed patrickoshaughnessey closed 3 years ago
Hi. Strange. I will test when my internet up.
Thanks
Thanks for sending this. Unfortunately, this version of the plugin had the same behavior.
Thanks, Patrick
Hi. Unity log is empty(console) ?
Thanks
Yes - nothing in the log when double clicking on a script in the project hierarchy. Thanks
Consulo is set as External editor? I will add some Menu option - because we don't understand, plugin loaded or not.
Thanks
And can you open in browser (with running consulo) this url:
(this must return json file, it's test for internal consulo api server)
UnityEditorConsuloPlugin2017.2.zip
When plugin is loaded you will see menu in 'Help' (if checked - intergration enabled)
Thanks
Thanks again. I get this when I go to the api/about:
{ "success": true, "data": { "name": "Consulo", "build": 1862, "channel": "release" } }
I see the Consulo Integration Help menu item is checked.
Unfortunately, double clicking a class still doesn't open it in Consulo.
Hi. Please attach Consulo log (Help -> Show Log in Finder/Explorer).
That really strange. If we not found problem - i will build library with debug log
Thanks
Nothing interest in log :( I will build plugin with some debug log, it's may help.
Thanks
Hi. Sorry for delay, busy at primary job.
On double click, you will see json debug in Unity Editor.
Thanks
Hi,
Finally getting around to testing this. Here’s the debug info. It still isn’t opening the editor to the proper line:
Sending json to consulo {"projectPath":"/Users/poshaughnessey/dev/slabfinder/slabfinder", "filePath":"/Users/poshaughnessey/dev/slabfinder/slabfinder/Assets/Scripts/Utility/Singleton.cs", "editorPath":"/Applications/Unity.2017.2.0f3/Unity.app", "contentType":"UnityEditor.MonoScript", "line":"-1"} UnityEngine.Debug:Log(Object) Consulo.Internal.UnityEditor.ConsuloIntegration:SendToConsulo(String, JSONClass, Boolean) (at W:/_github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:121 http://github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:121) Consulo.Internal.UnityEditor.ConsuloIntegration:OnOpenedAssetCallback(Int32, Int32) (at W:/_github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:109 http://github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:109) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Thanks, Patrick
On Oct 11, 2017, at 12:43 PM, Valeriy Semenchuk <notifications@github.com mailto:notifications@github.com> wrote:
Hi. Sorry for delay, busy at primary job.
Build.zip https://github.com/consulo/UnityEditorConsuloPlugin/files/1376622/Build.zip On double click, you will see json debug in Unity Editor.
Thanks
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/consulo/UnityEditorConsuloPlugin/issues/10#issuecomment-335891171, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHB7GKUCHMm1o4h3sVYJX6suuBoNnUfks5srP4pgaJpZM4PpJe4.
https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png https://github.com/consulo/UnityEditorConsuloPlugin https://github.com/consulo/UnityEditorConsuloPlugin/files/1376622/Build.zip https://github.com/consulo/UnityEditorConsuloPlugin/issues/10#issuecomment-335891171
This may be of interest. I get this exception when I uninstall and re-install the plugin:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x000f7] in 1[T] parameters) [0x0002e] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.MetadataReader.ReadCustomAttributeSignature (Mono.Cecil.CustomAttribute attribute) [0x0003c] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.CustomAttribute.<Resolve>b__35_0 (Mono.Cecil.CustomAttribute attribute, Mono.Cecil.MetadataReader reader) [0x00000] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.ModuleDefinition.Read[TItem,TRet] (TItem item, System.Func
3[T1,T2,TResult] read) [0x00029] in 1[T] assemblyPaths, APIUpdater.Framework.Configuration.IConfigurationProvider provider) [0x00017] in <5c8a204576ed499296747af6a8b9515a>:0 at AssemblyUpdater.Application.Program.ConfigurationProviderFrom (System.Collections.Generic.IEnumerable
1[T] configurationAssemblies) [0x00020] in
On Oct 18, 2017, at 10:20 AM, Patrick O'Shaughnessey <patrick@patchedreality.com mailto:patrick@patchedreality.com> wrote:
Hi,
Finally getting around to testing this. Here’s the debug info. It still isn’t opening the editor to the proper line:
Sending json to consulo {"projectPath":"/Users/poshaughnessey/dev/slabfinder/slabfinder", "filePath":"/Users/poshaughnessey/dev/slabfinder/slabfinder/Assets/Scripts/Utility/Singleton.cs", "editorPath":"/Applications/Unity.2017.2.0f3/Unity.app", "contentType":"UnityEditor.MonoScript", "line":"-1"} UnityEngine.Debug:Log(Object) Consulo.Internal.UnityEditor.ConsuloIntegration:SendToConsulo(String, JSONClass, Boolean) (at W:/_github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:121 http://github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:121) Consulo.Internal.UnityEditor.ConsuloIntegration:OnOpenedAssetCallback(Int32, Int32) (at W:/_github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:109 http://github.com/consulo/UnityEditorConsuloPlugin/Sources/ConsuloIntegration.cs:109) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Thanks, Patrick
On Oct 11, 2017, at 12:43 PM, Valeriy Semenchuk <notifications@github.com mailto:notifications@github.com> wrote:
Hi. Sorry for delay, busy at primary job.
Build.zip https://github.com/consulo/UnityEditorConsuloPlugin/files/1376622/Build.zip On double click, you will see json debug in Unity Editor.
Thanks
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/consulo/UnityEditorConsuloPlugin/issues/10#issuecomment-335891171, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHB7GKUCHMm1o4h3sVYJX6suuBoNnUfks5srP4pgaJpZM4PpJe4.
https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png https://github.com/consulo/UnityEditorConsuloPlugin https://github.com/consulo/UnityEditorConsuloPlugin https://github.com/consulo/UnityEditorConsuloPlugin/files/1376622/Build.zip https://github.com/consulo/UnityEditorConsuloPlugin/files/1376622/Build.zip https://github.com/consulo/UnityEditorConsuloPlugin/issues/10#issuecomment-335891171 https://github.com/consulo/UnityEditorConsuloPlugin/issues/10#issuecomment-335891171
It's error from Unity - due it can't load old library (unity plugin is not contains our fixes )
Have there been any updates to the plugin that might have fixed this issue for Unity 2017?
Hi. Sorry for ignoring this issue. I waited unity release and than forgot about it.
I will try to reproduce on my mac at this week.
Sorry.
Thanks for upstream this issue
Hi. First impression. Tested with my plugin build - it's works as expected (same file that i gave u).
But i catch strange error like - UnityEditor is not responding (defines can't be fetched), and it's not normal.
Will check in few days
macOS 10.13 (17A365) Unity 2017.2.f3 Consulo 1921 (last plugins from nightly)
Strange
And now(without any changes it's work as expected). I pushed to nightly plugin with correct UnityEditor plugin. Test it.
For me - i don't have any problem with it.
Thanks.
PS: anyways strange
Where do I find the nightly build?
That appears to be for the editor update. How about the plugin?
After opening project notification will apear (about plugin outdate)
Thanks. Well, I installed last night's build, and updated the plug-in, but it still isn't working. :(
I'm getting this exception on import of the plugin:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x000f7] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00007] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00025] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.MetadataResolver.Resolve (Mono.Cecil.TypeReference type) [0x00040] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.ModuleDefinition.Resolve (Mono.Cecil.TypeReference type) [0x00006] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.TypeReference.Resolve () [0x00006] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.Mixin.CheckedResolve (Mono.Cecil.TypeReference self) [0x00000] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeEnum (Mono.Cecil.TypeReference enum_type) [0x00000] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeElementValue (Mono.Cecil.TypeReference type) [0x0002f] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeElement (Mono.Cecil.TypeReference type) [0x00015] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeFixedArgument (Mono.Cecil.TypeReference type) [0x00015] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeConstructorArguments (Mono.Cecil.CustomAttribute attribute, Mono.Collections.Generic.Collection
1[T] parameters) [0x0002e] in 3[T1,T2,TResult] read) [0x00029] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.CustomAttribute.Resolve () [0x00017] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Mono.Cecil.CustomAttribute.get_ConstructorArguments () [0x00000] in <be0389fbd00a4dbc93ef1e02181f03c3>:0 at Unity.Cecil.Visitor.Visitor.Visit (Mono.Cecil.CustomAttribute customAttribute, Unity.Cecil.Visitor.Context context) [0x0003e] in <5c8a204576ed499296747af6a8b9515a>:0 at Unity.Cecil.Visitor.Visitor.Visit (Mono.Cecil.MethodDefinition methodDefinition, Unity.Cecil.Visitor.Context context) [0x00037] in <5c8a204576ed499296747af6a8b9515a>:0 at APIUpdater.Framework.Configuration.ConfigurationCollector.Visit (Mono.Cecil.MethodDefinition methodDefinition, Unity.Cecil.Visitor.Context context) [0x00001] in <5c8a204576ed499296747af6a8b9515a>:0 at Unity.Cecil.Visitor.Visitor.Visit (Mono.Cecil.TypeDefinition typeDefinition, Unity.Cecil.Visitor.Context context) [0x001b1] in <5c8a204576ed499296747af6a8b9515a>:0 at APIUpdater.Framework.Configuration.ConfigurationCollector.Visit (Mono.Cecil.TypeDefinition typeDefinition, Unity.Cecil.Visitor.Context context) [0x00001] in <5c8a204576ed499296747af6a8b9515a>:0 at Unity.Cecil.Visitor.Visitor.Visit (Mono.Cecil.ModuleDefinition moduleDefinition, Unity.Cecil.Visitor.Context context) [0x00024] in <5c8a204576ed499296747af6a8b9515a>:0 at Unity.Cecil.Visitor.Visitor.Visit (Mono.Cecil.AssemblyDefinition assemblyDefinition, Unity.Cecil.Visitor.Context context) [0x00024] in <5c8a204576ed499296747af6a8b9515a>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <9c9f068c46c64ffd91fda7af157b4d15>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <9c9f068c46c64ffd91fda7af157b4d15>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <9c9f068c46c64ffd91fda7af157b4d15>:0 at Unity.Cecil.Visitor.Visitor.Visit[T] (T node, Unity.Cecil.Visitor.Context context) [0x00038] in <5c8a204576ed499296747af6a8b9515a>:0 at Unity.Cecil.Visitor.Extensions.DoAccept[T] (T definition, Unity.Cecil.Visitor.Visitor visitor) [0x0001e] in <5c8a204576ed499296747af6a8b9515a>:0 at Unity.Cecil.Visitor.Extensions.Accept (Mono.Cecil.AssemblyDefinition assemblyDefinition, Unity.Cecil.Visitor.Visitor visitor) [0x00001] in <5c8a204576ed499296747af6a8b9515a>:0 at APIUpdater.Framework.Configuration.ObsoleteAttributeBasedConfigurationFactory.CollectConfigurationFrom (Mono.Cecil.AssemblyDefinition assembly) [0x0000e] in <5c8a204576ed499296747af6a8b9515a>:0 at APIUpdater.Framework.Configuration.ObsoleteAttributeBasedConfigurationFactory..ctor (System.String pathToAssemblyWithAttr, System.String[] references) [0x00074] in <5c8a204576ed499296747af6a8b9515a>:0 at APIUpdater.Framework.Util.IEnumerableExtensions.ComputeConfigurationProvider (System.Collections.Generic.IEnumerable
1[T] assemblyPaths, APIUpdater.Framework.Configuration.IConfigurationProvider provider) [0x00017] in <5c8a204576ed499296747af6a8b9515a>:0
at AssemblyUpdater.Application.Program.ConfigurationProviderFrom (System.Collections.Generic.IEnumerable1[T] configurationAssemblies) [0x00020] in <ecd8828a37114885ba2edde284ee146a>:0 at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config) [0x0007a] in <ecd8828a37114885ba2edde284ee146a>:0 at AssemblyUpdater.Application.Program.Main (System.String[] args) [0x00057] in <ecd8828a37114885ba2edde284ee146a>:0 UnityEditor.Scripting.APIUpdaterHelper:DoesAssemblyRequireUpgrade(String)
Oh. You called Check for updates ?(for update IDE+plugins)? And what file is placed in Assets/Editor/Plugins ? (dll file)
UnityEditorConsuloPlugin2017.2.dll
,I have no idea for now. Can you say your OS version, Unity version, Build target of Unity(desktop, ios, android, etc). Looks like wrong .NET runtime (idk how it happens)
Thanks
Double-clicking on scripts or console errors/warnings within 2017.2.0f1 with the UnityEditorConsuloPlugin5.6 plug-in installed is not opening Consulo.