Giter Site home page Giter Site logo

consulo-unity3d's Introduction

consulo-unity3d's People

Contributors

bfishman avatar vistall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

consulo-unity3d's Issues

UnityEngine.UI not found

UnityEngine.UI library (for 4.6 Unity3d version) not found for imported project.
It was fixed by manual added this library to project module by full path.

error
aftermanualadding

'Change Signature' refactoring not working

It does change the calling methods parameters (weirdly, it just leaves new elements blank), but not the method signature itself. It returns a NullPointerException: null error in the console.

Code suggestion when typing the lowercase letter

Hello @VISTALL , i have a suggest about "code suggestion popup" - i mean the popup show the list of method/field/property... when we typing a letter...

Example:
I have a class with name: MyClassName
When i typing "m" (lowercase), the popup doesn't show MyClassName, it only show when i typing exactly letter that is "M" (uppercase)

So, can you improve this thing?

Negating an object to test its nullity error

For the lines of code below, the error appears at "if".

var obj = null;
if (!obj ) break;

The error message is:

! (p0:System.Boolean) cannot be applied
to (p0:System.Boolean)

[Ubuntu 15.10 x64] Unable to add Unity SDK

Unity has released an experimental build of their Editor yesterday

I tried to add unity sdk from consulo, but i get this error:

"The selected directory is not a valid home for Unity3D"

I tried these directories:

/opt/Unity/
/opt/Unity/Editor/
/opt/Unity/Editor/Data

All of them doesn't work

Access is denied on Project Import

I get this error when I try to import an Unity project (as provided in tutorial video). I did the same steps on a different computer and it worked.

RuntimeException: java.io.FileNotFoundException: F:\Server\Match 3 ios\Match3Game (Access is denied): java.io.FileNotFoundException: F:\Server\Match 3 ios\Match3Game (Access is denied)

Stack:

java.lang.RuntimeException: java.io.FileNotFoundException: F:\Server\Match 3 ios\Match3Game (Access is denied)
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at org.mustbe.consulo.visualStudio.util.VisualStudioSolutionParser.parse(VisualStudioSolutionParser.java:74)
at org.mustbe.consulo.visualStudio.importProvider.VisualStudioImportBuilder.loadItems(VisualStudioImportBuilder.java:297)
at org.mustbe.consulo.visualStudio.importProvider.ui.VisualStudioSetupTargetStep.(VisualStudioSetupTargetStep.java:53)
at org.mustbe.consulo.visualStudio.importProvider.VisualStudioImporterProvider.createSteps(VisualStudioImporterProvider.java:49)
at com.intellij.projectImport.ProjectImportProvider.addSteps(ProjectImportProvider.java:90)
at com.intellij.ide.util.newProjectWizard.modes.ImportMode.createSteps(ImportMode.java:73)
at com.intellij.ide.util.newProjectWizard.modes.WizardMode.getSteps(WizardMode.java:47)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.initModuleWizard(AddModuleWizard.java:138)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.(AddModuleWizard.java:94)
at com.intellij.ide.actions.ImportModuleAction.createImportWizard(ImportModuleAction.java:184)
at com.intellij.ide.actions.ImportModuleAction.selectFileAndCreateWizard(ImportModuleAction.java:139)
at com.intellij.ide.actions.ImportModuleAction.selectFileAndCreateWizard(ImportModuleAction.java:118)
at com.intellij.ide.actions.ImportModuleAction.doImport(ImportModuleAction.java:64)
at com.intellij.ide.actions.ImportModuleAction.actionPerformed(ImportModuleAction.java:60)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:248)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:263)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:233)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:106)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:532)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:546)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:843)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:640)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:380)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Workflow question/suggestion

if I have my project on in Unity I cannot build in Consulo because Unity won't allow another instance with the same project. I assume that this is expected.

The next question is if I have Unity closed I can build and run no problem, but I cannot debug. Is this expected?

I have been debugging by attaching to Unity but I cannot attach to the player.

It would be nice to build from Consulo event when Unity is running, It would also be nice to see the error messages from Unity in Consulo with the ability to click to go to the file line where the error occurred

Finally thank you for making Consulo!

Unity plugin not work after update

On IDE start following message arrive:

Plugin Manager
Plugin "Unity3D" was not loaded: required plugin "org.mustbe.consulo.javascript" not installed. Disable Unity3D Open plugin manager

Int and Int32 are being reported as incompatible for comparison

Unity internally converts Int32 to Int when needed, making comparisons (<, =, >) of these two types compile and work fine. Nevertheless Consulo reports an incompatible-type error, as shown in the attached screenshot. For the record, if I int-cast the Int32 property the error goes away, but this shouldn't be needed.
int_vs_int32

Can not import unity project

here is the log:
5:16:37 PM IllegalArgumentException: Argument for @NotNull parameter 'firstItem' of com/intellij/openapi/roots/ui/configuration/SdkComboBox.setSetupButton must not be null: Argument for @NotNull parameter 'firstItem' of com/intellij/openapi/roots/ui/configuration/SdkComboBox.setSetupButton must not be null

Cannot run project from Consulo when Unity Editor is open (Unity 5.1)

Hello. Great work, I love what you're doing here.

I've gotten Consulo to successfully build my Unity 5.1 project, and even run it when the Unity editor is closed. But if the Unity Editor is open, I get a failure with the following message in the log file:

 BATCHMODE ARGUMENTS:

-batchmode
-projectPath
C:/Users/Public/Documents/Unity Projects/Test Project
-buildWindowsPlayer
C:/Users/Public/Documents/Unity Projects/Test Project/out/production/Test Project/$ModuleName$.exe
-quit
Successfully changed project path to: C:/Users/Public/Documents/Unity Projects/Test Project
C:/Users/Public/Documents/Unity Projects/Test Project
It looks like another Unity instance is running with this project open.

Multiple Unity instances cannot open the same project.

Project: C:/Users/Public/Documents/Unity Projects/Test Project

(Filename: C:/buildslave/unity/build/Editor/Src/Application.cpp Line: 303)


Aborting batchmode due to failure:
Fatal error! It looks like another Unity instance is running with this project open.

Multiple Unity instances cannot open the same project.

Project: C:/Users/Public/Documents/Unity Projects/Test Project

I'm using the latest (as of right this moment) version of Consulo and the Unity3d Plugin. Any suggestions?

No libraries are found, System, UnityEngine, UnityEditor, etc

Hey.

I just found Consulo and wanted to try it out since I work heavily on Unity with MonoDevelop and I am losing my mind with that setup. I work on Javascript with Webstorm and Php with Phpstorm, so, I when I found Consulo its like I found the chalice of youth!

However, I am having problems getting my project to work correctly, namely it highlights stuff like UnityEditor, UnityEngine, and even System and Linq not being found.
It even highlights lines like bool doThis = true; stating that it can't convert System.Boolean to System.Boolean (weird shit).

There is a picture if the problem:
http://puu.sh/gTU1T/44494f5719.png
And here is a picture of the solution (notice the paths):
http://puu.sh/gTUjU/a9c4d54c90.png

Maybe this info could be added to the bottom of the read me, it would have saved me 20 or so minutes since I didn't know where exactly was everything.

PS: Thank you for your awesome work.

Consulo is freezy on Mac OS

Hi Consulo team, i'm using Consulo Unity IDE to write code, i very like it and guess Consolu can become a best solution to replace MonoDevelop for Unity developer on MacOS, but there is a critical problem that Consulo can freeze anytime when i am writing the code, i'm using OSX 10.10.5. Please have a consider to investigate and solve this problem!

automatic unity3d project reimport / refresh

please add some command/button that will allow to do consulo project recreation or updating if something has changed in unity generated VS solution files

(as reference of this feature take a look to IDEA sbt (scala build tool)(at scala plugin) tool window)

UnityEngine.UI not found

UnityEngine.UI library not found for imported project.
Consulo: 1.0 #966
JVM: 1.8.0_40
Unity: 5.1.2f
Mac OS X: 10.10.4
Unity Plugin: 778

Missed major preprocessor variable define if minor version is not equal zero, like 5.1

After project import one of project dependencies not found: DarkTonic.CoreGameKit
Code for this module included in sources. Tried to rebuild - doesn't help.

Consulo: 1.0 #966
JVM: 1.8.0_40
Unity: 5.1.2f
Mac OS X: 10.10.4
Unity plugin: 1449

Seems that problem is that Consulo not define UNITY_5 for compile. That brakes compilation logic for that module. Seems that this problem was not appears in older version of Unity plugin.

Editor attach and MacOS

Hm. When i tried to attach i get exception:

null
java.lang.NullPointerException
    at org.mustbe.consulo.unity3d.run.Unity3dAttachRunner$1$1.connectionSuccess(Unity3dAttachRunner.java:98)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:88)
    at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
    at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:68)
    at com.sun.proxy.$Proxy90.connectionSuccess(Unknown Source)
    at org.mustbe.consulo.dotnet.debugger.DotNetDebugThread.run(DotNetDebugThread.java:184)

UnityEngine.UI.dll

Please import UnityEngine.UI.dll into external references so we can do this:

using UnityEngine.UI;
using UnityEngine.EventSystems;

It's in the Assembly-CSharp.csproj file:

 <Reference Include="UnityEngine.UI">
 <HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
 </Reference>

Thanks! Great work!

multi-modules

image
when I import a real unity project into consulo (100+ files), there are 5 modules in it. When I edit a cs file, consulo hangs again. If I delete all the modules except the one I need, the situation is much better, but I need to add all the dependencies to it manually. By the way, consulo adds a dll file twice to a module (in box 2).

Unity ShaderLab cg code highlighting and code completion

Currently any code between the CGPROGRAM and ENDCG are marked with a background colour but the text is all black and no auto complete is offered.

Shader "UCLA Game Lab/Wireframe/Single-Sided" 
{
    Properties 
    {
        _Color ("Line Color", Color) = (1,1,1,1)
        _MainTex ("Main Texture", 2D) = "white" {}
        _Thickness ("Thickness", Float) = 1
    }

    SubShader 
    {
        Pass
        {
            Tags { "RenderType"="Transparent" "Queue"="Transparent" }

            Blend SrcAlpha OneMinusSrcAlpha 
            ZWrite Off
            LOD 200

            CGPROGRAM
// The code from here >>>>>>>>>>>>>>>>>>>>>>
                #pragma target 5.0
                #include "UnityCG.cginc"
                #include "UCLA GameLab Wireframe Functions.cginc"
                #pragma vertex vert
                #pragma fragment frag
                #pragma geometry geom

                // Vertex Shader
                UCLAGL_v2g vert(appdata_base v)
                {
                    return UCLAGL_vert(v);
                }

                // Geometry Shader
                [maxvertexcount(3)]
                void geom(triangle UCLAGL_v2g p[3], inout TriangleStream<UCLAGL_g2f> triStream)
                {
                    UCLAGL_geom( p, triStream);
                }

                // Fragment Shader
                float4 frag(UCLAGL_g2f input) : COLOR
                {   
                    return UCLAGL_frag(input);
                }
// <<<<<<<<<<<<< to here is just plain text.
            ENDCG
        }
    } 
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.