Issue#945689: Unity - [SOLVED] Compiler errors stop all plugins working.

  • Ok, this is a strange one. Only just started happening today, and I'm finding it difficult to locate the source of the problem. Can't find anyone else in the forums having the same issues. Here goes...

    Just to note, everything was fin prior to today.

    I have various plugins installed (vscode, QHierarchy, Console Pro). When I edit a Script, and there's an error, all the plugins stop working, including vscode! The only error shown in the console is to do with the typo in the script. As soon...

    [SOLVED] Compiler errors stop all plugins working.

    0 Answers

    Sorry, your answer is too short !

  • Issue#945276: Unity - Compiler errors stop all plugins working.

    Ok, this is a strange one. Only just started happening today, and I'm finding it difficult to locate the source of the problem. Can't find anyone else in the forums having the same issues. Here goes... Just to note, everything was fin prior to today. I have various plugins installed (vscode, QHierarchy, Console Pro). When I edit a Script, and there's an error, all the plugins stop working, including vscode! The only error shown in the console is to do with the typo in the script. As soon... Compiler errors stop all plugins working.

  • Issue#3038: Unity - Object counter issue: not working

    I am trying to make a script that counts objects in a list that are already active, I want my activeAmount to increase by 1 whenever a gameobject in the array is set to false, however I seem unable to. So far it either increases by 1 and then doesn't change, or it continuously increases without stop, any help is appreciated. I couldn't find any other question posted that dealt with this. Code (CSharp):  using UnityEngine; using UnityEngine.UI; using System.Collections; using... Object counter issue: not working

  • Issue#3256: Unity - 5.3.1p3 Physics.RaycastAll stop working in Editor?

    Hi, Physics.RayCastAll worked in 5.1.1 in the Editor in one of my custom inspectors, but for some reason it does not work anymore in 5.3.1p3. It simply returns 0 hits. Has this changed?

  • Issue#6132: Unity - particle collision 2d never stop colliding, help need to solve this issue

    hi, i'm working on a 2d game and i'm using the new particle collision 2d available in the new unity 5.3.1 (i'm using patch 1), my particle is colliding in the right way with my player character, but after the first collision, the particle remain colliding, don't know why, this is the code that i'm using to detect the collision: Code (csharp):     public int[] DamageAmount = new int[3];   public float[] RestoreTime = new float[3];     private PlayerHealth PlayerScript;   private bool bBurned = false;... particle collision 2d never stop colliding, help need to solve this issue

  • Issue#7637: Unity - Lightmaps (both realtime and baked) stop working after alt-tabing or changing resolution

    We are on Unity 5.2.3 and every time we make a build we encounter the same problem - lightmaps or lightmap snapshot dissapears when we get back in the game. We've tried not to bake anything and start the game without prebaked realtime lighting and it works alright. But if we bake anything shadows just dissapear after alt-tab. What can be the reason?

  • Issue#38191: Unity - Reading Asset Files is not working [Solved]

    Hi, for a custom editor window, I need to create text assets and read them. Writing works with: File.WriteAllText(Application.dataPath + "/Ressources/leveldata/" + textFieldString+ ".txt", "text"); AssetDatabase.SaveAssets(); AssetDatabase.Refresh();​ But when I try to read the file again, I get a null reference exception: TextAsset bindata= Resources.Load<TextAsset>("leveldata/" + textFieldString); Debug.Log(bindata.text);​ Any ideas?

  • Issue#47390: Unity - il2cpp_codegen_initialize_method compiler errors

    Hey guys - I just upgraded a project from Unity 5.2.x to 5.3.1p1 and I'm no longer able to build out to iOS as I get a lot of "Use of undeclared identifier 'il2cpp_codegen_initialize_method'" errors in Xcode. Is anyone else having these troubles?

  • Issue#62716: Unity - [Solved] Diagonal movement speed issue

    Hello. I am attempting to move my player up, down, left, and right on a 2d plane. However, I was getting what is apparently a common issue where diagonal movement was compounded by 2 different vectors equalling more than 1. The solution, apparently, is to normalize the vectors and then use those normalized vectors to move the object at the end of the function. The problem I am having now is that I can no longer move up or down, it only allows me to move left or right, and I can't figure out... [Solved] Diagonal movement speed issue

  • Issue#103388: Unity - Steam VR touchpads stop working when changing scene

    Greetings, We are immersed in the development of a VR Experience for HTC Vive and Unity. We found a extremely annoying problem. We have found out that Touchpad stops working when loading a NEW SCENE. If a new scene is loaded, we need to turn the controller off and then on, so we can use Touchpad. If we don't turn it off and on, all triggers/buttons work properly except Touchpad. Has anyone experienced anything similar? H Thanks in advanced.

  • Issue#112401: Unity - [SOLVED] Client raycast not working

    Hey, Ran into a weird problem while testing out my shooting function in 2D game. Apparently only the servers host has a working raycast + only the host is able to deal damage (because of the working raycast). Meanwhile the clients raycast is all bonkers. Any idea what is causing this? This is the script handling the shooting. Code (CSharp): using UnityEngine; using System.Collections; using UnityEngine.Networking;   public class Shoot : NetworkBehaviour {       public int dmg = 1;... [SOLVED] Client raycast not working

  • Issue#164794: Unity - NetworkServer.dontListen not working - How do I stop clients connecting?

    I'm currently on Unity 5.3.2f1 and have been using NetworkServer and NetworkClient to add multiplayer to the game I'm currently working on. I haven't and will not be using NetworkManager at all, favouring making my own version of a manager because it suits our game better which is turn based and two years in the making! (Trust me, it was easier.) Using NetworkServer.Configure I have constrained the... NetworkServer.dontListen not working - How do I stop clients connecting?

  • Issue#165197: Unity - NetworkMessage class refering from Plugins directory - not working

    Hello, I have 2 Unity apps - one act as server and other as client. Both apps exchange network messages between each other using NetworkServer.Send() and NetworkClient.Send() and by registering proper listeners. If my network message classes (inherited from MessageBase) are defined inside the same unity apps, then I can successfully send and receive messages without any issues. This leads to code duplication and... NetworkMessage class refering from Plugins directory - not working

  • Issue#192297: Unity - 2D Hookshot Rotation issue with Raycast (Solved)

    Hi! I'm currently working on a 2D game where the hookshot is one of the main gameplay element/mechanic. The grappling will draw the player toward the end point, a bit like link grappling hook. It's working but it is not precise. There is an issue. The line of the raycast does not have the same angle of the line renderer I'm using as a grappling. I've been looking for what's wrong with this code for a while but can't get my head around it. I'm sure it's a stupid little error that is screwing... 2D Hookshot Rotation issue with Raycast (Solved)

  • Issue#223233: Unity - [Solved] Code not working after update

    This code was working fine before the update (5.2 to 5.3) and now it's not working as intended and I can't figure out why. This code instantiates a bar at a certain position (Flow Bar Bit Start) before the update, but now it just instantiates at the middle of the screen (objectPos). I can't figure out why, has the update messed with anything? Code (csharp):         //flowBar     public static int flow;     private int flowBits = 80;     public int flowBitNumber;     public int flowBitOpacity;... [Solved] Code not working after update

  • Issue#259122: Unity - Blank error message preventing play (All compiler errors must be fixed...)

    Hi, I made a small change to a script in my project, and when the script was built it killed the project. I'm presented with two blank error warnings. Attempting to play the project will result in the usual "All compiler errors must be fixed...". I deleted both the scripts I had been working on (the only ones I had modified all morning) but no luck. Reimported all assets, deleted the Library folder but nothing fixed. Not entirely sure what to do in this situation.... Blank error message preventing play (All compiler errors must be fixed...)

  • Issue#269429: Editor not working. Getting errors when opening Unity

    Hello. I recenlty upgraded to a new computer. (Custom build) On my old pc i could run Unity3d perfectly, but on the new pc, i cant even open the application and do anything. But i get this weird error: Failed to get socket connection from UnityShaderCompiler.exe shader compiler! Here is a screenshot of, what is happening in the scene when i load it. All the grids in the scene view is glitchy (Best way i can explain this) View attachment 177367 I think it is because of my anti... Editor not working. Getting errors when opening Unity

  • Issue#291622: Unity - [Solved] Windows Phone 8.1: GUI Button OnClick not working?

    I'm currently trying to build my game on windows phone 8.1. The game runs fine under Windows Desktop, Android and Web plugin and uses the vanilla Unity GUI with panels, buttons, etc. However when I build for windows phone 8.1 my GUI buttons aren't working anymore. Regular touches on the screen that control the player character are still working as intended. I made a small simple example game (see attachment) that only has one button that changes a text control on the screen, this does not... [Solved] Windows Phone 8.1: GUI Button OnClick not working?

  • Issue#300741: Ubuntu - (solved) 14.04.3 Unity, sleight of hand to get vid card working :)

    My 650 started freezing - took me a while to realize it was not driver but 650 itself. finally had to pull the card to allow a boot using the 4600 in the intel i5-4670K. :-({|=:-({|=:-({|= much upset for my old gtx ti. rats!!! So off to MicroCenter and picked up an XFX Radeon R7 240 - I wanted to try a Radeon because of the prob/confusion around Nvidia - also since it's been forever since I had an AMD. It was fairly easy getting win7 to accept the 240 and install and use the drivers and run 3dmark11. Getting Ubuntu to boot to desktop was another thing. It would either sit there with a blank screen, or not connect to the monitor. I thought to trick it by booting to the Intel display to remove any Nvidia drivers but it said there were no additional drivers. I finally tricked it by using advanced boot and choosing an older kern (41 I believe) and voila it booted (Intel display but 240 card plugged). went to additional drivers and chose ... fglrx-updates (why? I have no idea!) . changed

  • Issue#314520: Unity 5.4 + Linux Mint = Monodevelop not working => Solved

    Hey there, just installed version 5.4 of our beloved Linux Editor and noticed that Monodevelop doesn't run anymore (it was in previous version). It looks like the problem is due to missing "realpath" command in monodevelop shell script. So in my case it was just solved installing it with: sudo apt-get install realpath Just in case it helps somebody else And remember: The future of gaming is Linux + Vulkan !!

  • Issue#329511: 2 compiler errors with steamVR for unity

    I tried to play around with SteamVR, even if i have no dev version yet and waiting eagerly the arrival of the Vive consumer version. But i got 2 compiler errors with unity 5.4.0b10 right at the beginning: Assets/SteamVR/Scripts/SteamVR_UpdatePoses.cs(17,36): error CS0103: The name `TargetEyeMask' does not exist in the current context Assets/SteamVR/Scripts/SteamVR_UpdatePoses.cs(17,24): error CS1061: Type `UnityEngine.Camera' does not contain a definition for `targetEye' and no extension... 2 compiler errors with steamVR for unity

  • Issue#384216: Unity - I'm trying to use this rotate code (almost solved, only 2 errors left)

    What's wrong with this code I'm trying to use. It was a java script, but I want to understand it, so I tried to change it to C#, and I get 8 errors. Code (CSharp): using UnityEngine; using System.Collections;   public class scr_player_rotate : MonoBehaviour {       Vector3 looktarget;     float turnSpeed = 20;     RaycastHit hit;     float point;       void Update()     {             float ray = Camera.ScreenPointToRay(Input.mousePosition);         float hit = RaycastHit;         if... I'm trying to use this rotate code (almost solved, only 2 errors left)

  • Issue#468518: Unity - MatchMaker issue : Working from the same PC, not working from different PC ?!?

    HI all. While pulling my hair trying to make this all work , i just found out something.. weird ? Basically, from the same pc, i can launch two different client, start matchmaker, create a match, the second build joins it , all good. When i try from two differrent PC : I am getting Timeouts from the client... it sees the match, try to connect to the host, timeouts. Any idea ? Before i give up and simply try another network solution ?

  • Issue#547938: Unity - Click to move animation not working(Solved)

    Hi all any help would be great! I have an animated character and I'm just trying to get him to walk when i click the right mouse button at a target location and then stop. This is possible to do but its not instant and i have tried to change the transition time but with no effect so i tried to force it with booleans and script it but this doesn't seem to work ether. Plus it doesn't stop the character from working making it go back to idle. In animator i have a boolean called IsWalking... Click to move animation not working(Solved)

  • Issue#556257: Unity - Vungle causes mouse to stop working when using Cursor.visible = false

    I have added Vungle to my game. Everything works as expected, except the mouse? When entering game play I set Cursor.visible = false to hide the cursor, however I don't lock the cursor since it is still needed for movement. This works fine, until I initialize Vungle. After than the mouse will only work when the cursor is visible. Any ideas?

  • Issue#566209: Unity - [Solved] Matchmaking is not working?

    I am trying to use UNet in my game, and I using Unity version 5.3.4f1. I had a problem about matchmaking is not working. Here's my process: Start the game and see the Network manager HUD. Select "Enable Match Maker". Press "Create Internet Match". Then the following logs show up and nothing happened. [FONT=Times New...[/INDENT] [Solved] Matchmaking is not working?​

  • Issue#585565: Unity - Weird Issue - Solved

    Hi there, this is probably something really stupid am just not seeing but am having a issue. for some reason Back,Left and Down are refusing to register even thou the block rotations are correct I should point out that the blocks are children of another object hence the use of Local rotation. I find it weird that Forward,Right and Up are all working correct. Please help my head hurt. Thanks in advance =) Code (CSharp):         Debug.Log(Block.localRotation.eulerAngles.y);         if... Weird Issue - Solved

  • Issue#603795: Unity - [Solved] How do you check a collision in C#? Nothing is working.

    I'm moving an object forward with void Update () { transform.Translate(Vector3.forward * Time.deltaTime); } It's going straight into another object I want it to collide with. How do I check that collision? I've tried everything, they both are called trigger, both have box collisions, both have Is Trigger selected. This is my code for the trigger, but nothing is working. using UnityEngine; using System.Collections; public class TriggerScript : MonoBehaviour { void... [Solved] How do you check a collision in C#? Nothing is working.

  • Issue#620473: Unity - issue with code not working

    Hello all, I've been googling and searching around on the forums here for a bit, but I cant really get a solid answer so I figured id make a post. Im new to unity, and new to C#. Im currently working on the rollerball tutorial, and im having problems with the movement script. While googling I found another person copy/paste his script, and it worked. The problem im having is understanding why his did, and mine doesnt. When I compare the two scripts side by side, the only difference I can... issue with code not working

  • Issue#629722: Unity - [SOLVED] Tackling the issue of spawning non-player objects from non-player objects.

    I plan to have players spawn non-player objects from other non-player objects into the scene. The issue is that non-player objects do not have Client Authority Owners or specific Connection To Client or Connect to Server. Code (CSharp):     private void AddingNewSplitGroup() {         foreach (GameObject obj in this.selectionManager.selectedObjects) {             NetworkIdentity identity = obj.GetComponent<NetworkIdentity>();             Debug.Log("Calling on CmdSplit()");... [SOLVED] Tackling the issue of spawning non-player objects from non-player objects.