Quantcast
Channel: Questions in topic: "vs"
Browsing latest articles
Browse All 110 View Live

Simple: How to write field vs property java

So yes I did Google this, but couldn't find an answer. But all I need to know is how to write a field vs a property, or what makes a var a field vs a property.

View Article



Invoke an Editor Script in the running editor instance.

Hi, so, possibly tricky question here... I'm working with VS2013 and UnityVS (or I guess we should call it VSTU nowadays), and a thought ocurred to me. I'm frequently finding myself in need to locate a...

View Article

Why is Visual Studio 15 adding new lines between every line in my code?

When using the new VS15 a blank line is added between every line of code. Anyone else seeing this or know how to fix it?

View Article

Unity 5+ compatibility with VS2012 - ?

I use VS2012 currently, I just installed the unity (vstu2012.msi) extension/plugin for VS2012. Should I remain on Unity 4+, or can I use Unity 5+ without issue on my current dev setup? Thanks!

View Article

Cant attach debugger | Compile Errors in VS but not in Unity?

Greetings, I'm unable to attach debugger/run from Visual Studio to debug. I'm getting compile errors _only_ in Visual Studio and not Unity. I've tried removing the .csproj, restarting VS/Unity, no...

View Article


Unity Debugger not working in VS2015 update 2

i dont know if its important or not but when i press ATTACH to Unity button it shows just **1>------ Build started: Project: Interview.CSharp, Configuration: Debug Any CPU ------ 1>C:\Program...

View Article

Custom VS Solution with Unity integration: double-clicking opens wrong solution

I have a DLL which I'm building as a core, logically encapsulating code that doesn't reference UnityEngine. All is well and I currently have a separate .SLN (so to not have it overwritten by Unity's...

View Article

freindly ai attack other ai.

Hi i made a simple ai that shoot only the player. and i was wondering how to make a Ai that actually shoot other ai's (like a huge ai battle). I'm using java, and i know we need to use an array. but i...

View Article


Breakpoints not working

I checked the monodevelopment breakpoints not working post but it was from a number of years ago and about monodevelopment. I am using VS 2015 and overnight the breakpoints stopped working. I tried...

View Article


How to add code hints to Notepad++ ?

------------- *For those who do not understand the meaning of the topic name: In order not to memorize all the Unity script commands by heart, there is a feature in the script editors, you enter the...

View Article

Custom namespace not found by Assembly-CSharp-firstpass,My custom namespace...

I work using two namespaces: one that is game specific, and one that has utitlities that can be re-used by other games. I'm finding that my generic one is not being found by Assembly-CSharp-firstpass...

View Article

Visual Studio Solutions with unity.

Hi! I've been working on a game recently and I have decided to have one project to be the link between the server and the client project. So they both use this common project (link project). The...

View Article

Why my editor VScode opens a few windows more when i try to open a script...

The problem is when i try to open a script from unity, my editor open a few empty more I try to reinstall vscode & unity and don´t work. i try with other editor and work. i want to open only the...

View Article


VS Solution contains strange projects

I updated from Unity 2017.2 to Unity 2018.2 and since then my VS solution is weird. Previously it had only one project with my source code. Now it has 4 projects and none of them contains my source...

View Article

Visual studios will not open Unity reference API in browser --> Error" Cant...

I have been using the Unity API Reference for a little bit now but only local(Opens local API in VS window). The API page takes some time to open, so i want to switch over to the WEB API opening in a...

View Article


Visual Studio doesn't show function description

My Visual Studio stopped to show functions and variables definitions from what is from inside unity, but still shows from DOTween. ![alt text][1] ![alt text][2] [1]: /storage/temp/137939-sem-titulo.png...

View Article

VS Code missing UnityEngine.UI

Hello After updating to 2019.3 from 2018.1 I'm keep getting error, where VSC is highlighting UnityEngine.UI saying that it doesn't exist, but project works just fine, i can fix it by changing script...

View Article


Lost IntelliSence in Visual Studio on Mac

![alt text][1] [1]: /storage/temp/159839-screenshot-2020-05-18-at-51801-pm.png Running Visual Studio Community 2019 on Mac. The C# scripts has lost connection with Unity somehow: Inside VS I have no...

View Article

How to Turn Off Visual Studio Unity References

This is driving me crazy, but after recently getting a new PC and redownloading everything, Visual Studio is giving me these weird reference things. In between lines 4 and 5, 6 and 7, and 11 and 12....

View Article

Open C# Project Opens Windows Explorer

I recently reformatted my dev box and pull down my Unity projects from Git and now something strange is happening between Unity and VS2019. When I select "Open C# Project" it opens Windows Explorer and...

View Article

Visual studio for Mac doesn't identify Unity version in platform defines

Hi, I am using Unity 2020.2.2 on Big Sur OSX and visual studio for Mac for an IOS project with AR foundation. My problem is that AR foundation has compilation platform defines for Unity version (e.g....

View Article


VS not detecting certain words.

recently I got unity and with that, VS, the only problem is that it doesn't recognise words like 'transform' and doesn't give them special properties. If there is anything I can do to fix this please...

View Article


Unity Unable to build to windows

Whenever I try making a build, I get an error message that reads > C++ code builder is unable to build C++ code. In order to build C++ code for Windows Desktop, you must have one of these installed:...

View Article

"Some projects had trouble loading: check output for more details" in VS Code

So, I was switching to VS Code because VS was wasting my space. So I installed the extensions OminiSharp, IntelliSense, Debugger for Unity and Unity Tools, and setup Unity 2020 with it. ---------- As...

View Article

Visual Studio Code OmniSharp not working for Unity

I tried to switch to VS code (cause Visual Studio is wasting my space). When I try to do it, it gives me this: [fail]: OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded:...

View Article


Jumping: Endless Runner,Hey can anyone help with this endless runner script ?

Hey guys trying to make my character jump in this endless runner game script tried changing the script to no avail ![alt text][1] [1]: /storage/temp/183931-img-1048.png ,Hey pretty new to Unity and I...

View Article

VS Code doesn't autocomplete or show errors.

Hi i started learning C# for unity, I understood the syntax and all, i already use vs code for java, C++ and web, it works fine, but for C# as i am following a tutorial i found that it doesn't...

View Article

Visual studio installation error

![alt text][1]Hey ,i was trying to install unity for the first time.Everything works perfect for me except one thing.Visual studio installation is having some issues.It was showing some errors. I have...

View Article

Whats the difference between the blue and purple Visual Studios?

When, following a tutorial by Brackeys about coding in C#, he installed the blue one. But I already had the purple one (it only appears when writing a script in unity, or using the search in the task...

View Article



How to use path.status with Visual Scripting ?

I'm using navmeshplus, which is a fork of AI.navigation to allow agents to correctly navigate through tilemaps. I can get path.status to work with actual code, but not with VS, it always returns...

View Article
Browsing latest articles
Browse All 110 View Live




Latest Images