Questions tagged [visual-studio]

Visual Studio is an integrated development environment (IDE) from Microsoft. It supports many different programming languages.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How to save Unity assests to another drive?

My C:\ volume has almost no space left. Therefore I want to transfer all my assets to the volume E:/. And save my new assets automatically on the E:/ volume. I have searched very long in unity for ...
0
votes
0answers
28 views

What does rebuilding the .vcxproj file do?

I'm having the same problem this user had. The solution is confusing me, because all I want to do is comment out the code I added that caused the compiler crash, get Unreal to accept it and stop ...
1
vote
0answers
28 views

Unreal Visual Studio 2019 taking forever for tellisense

I'm using the latest unreal engine and visual studio 2019. I'm having a problem where intellisense can take way too long. This usually happens when I have just opened the project inf VS 2019, but ...
1
vote
1answer
29 views

Unreal Engine 4 - Error in Macro Syntax Causes Build to Hang

Problem Errors in macro syntax causes the module's build to hang for 2+ hours (possibly, indefinitely) with no indication of a build error. Steps to Reproduce Create a template game project in the ...
0
votes
1answer
21 views

Visual Studio not adding the header file to the Solution explorer

I'm having trouble with my Unreal Visual Studio 2019 project. I created a new header file, and saved it in the same folder my other ones are in. (I didn't add these, they were in the starter project ...
0
votes
0answers
22 views

How to Use/Initialize UDP (Unity Distribution Portal)

I would like to use UDP (which stands for Unity Distribution Portal) in my game, but I have a problem with the Initializing. What i´ve already done is: Downloading/Importing UDP from Unity Assets ...
0
votes
1answer
51 views

I already have a GameManager script, but need to have a 2nd one

I'm making a Unity game, and I want to use the Unity Distribution Portal. My problem is that you have to make a script named GameManager for this, but I already ...
0
votes
0answers
14 views

How to use the latest MongoDB C# driver with Unity?

I recently updated my Unity 2018 to the 2020 version then I created a new project to connect my game to a MongoDB database. My main goal is to be able to store not only common data in my collection ...
1
vote
1answer
49 views

How can I let the user choose his own background image?

Dear Stackoferflow Fourm I would like to have a function in my Android Game Programming that allows the user to choose his own background image (I would like to let the user change the plane image) ...
0
votes
0answers
28 views

Every X months Visual Studio Code says: 'UI' does not exist in the namespace 'UnityEngine'

I've tried countless fixes in the last 1,5 year, and I still don't know what is the absolute fix for this. Or after fixing it, why it got fixed. Usually this happens after a Unity update, or after ...
0
votes
1answer
36 views

UE4 C++ - Add generated source code folders to Visual Studio solution?

In Unreal Engine 4, using a Visual Studio solution and projects generated from the Editor using the First Person Template, the layout of the Solution looks something like the following: I am not a ...
1
vote
1answer
107 views

Can't build UE4 new mod kit - UGCExampleProject - UE4

I am trying to build the new mod kit to support modding for my new game. I am following the QuickStart Guide: Place your project in a directory under your UE4 root directory (such as /Games or /...
0
votes
1answer
30 views

Publish to folder equivalent for a desktop GL project with visual studio Mac 2019

I'm not home so the only computer I have access to is a Macbook, and now I would like to see how I could pack up projects to export for various platforms. But when I build my project it only produce a ...
0
votes
0answers
195 views

Can't build UE4 sln after regenerating it from uproject file

I was having issues with code, so I decided to regenerate my projects SLN file, and then rebuild the whole project. It was a really bad idea, I can't even open my project again. Anytime I try to start ...
0
votes
0answers
11 views
0
votes
1answer
44 views

Character bobs when moving

Whenever I try to move a character in unity, the character kind of, like, bobs around when walking. Is there any way to remedy this? I have tried the trick of putting the inputs into update and the ...
-1
votes
1answer
171 views

How to set C++ language standard for VS2019 in an Unreal project?

I am trying to a simple thing, just like that, in a header file; #include <filesystem> #include <iostream> namespace fs = std::filesystem; And ...
1
vote
0answers
21 views

Unity problem with instantiated objects when destroyed

So this is my problem, I have a square that when destroyed spawn 4 smaller squares when shooting on it, but when I shoot one of the 4 smaller squares sometimes a different square that are not even ...
-2
votes
1answer
36 views

How i can detect a single ARuco marker among several markers?

Hi everyone i am working on a rehabilitation application that depends on ARuco markers. The idea is to draw an object on a single marker among the four existing ones, then when the patient's hand ...
0
votes
1answer
97 views

Convert a string to a gameobject name

I want to use a string to reference a gameobject that I already have in my code, but the console says that you can't convert a string to unityengine.object. I have a string that says ...
0
votes
0answers
38 views

How to speed up script compilation?

Is there a way to speed up script compile time when I change something in VS then click on Unity? It takes 15 seconds. Is this normal?
0
votes
0answers
34 views

TextureImporter unexpected failure in Visual Studio 2019 Monogame 3.7.1

I'm trying to get XNA and Visual Studio working properly on my Windows 10 laptop. I'm getting a persistent bunch of 39 errors loading textures with Monogame. I've researched this on GitHub too, tried ...
0
votes
0answers
34 views

Help with Visual Studio for mac and Godot engine

I am total beginner in C#. Story(boring) Today I installed Visual Studio 2019 for Mac via the installer. I check want to install all (visual studio, .net core, xamarin iOS, android and Mac). After ...
0
votes
0answers
23 views

When set Visual Studio as external editor tool, Unity will freeze (macbook version)

So I want to link visual studio and Unity, but if I set vs as the external editor tool and open a script, after I open a script for around 1 minute, Unity will freeze and I can't do anything but quit ...
0
votes
0answers
36 views

How to convert world coordinates to grid movement

I'm producing a tactical 3D RPG game and I have the following issue: I want the NPC to move through the grid. The grid is formed by tiles and each tile has a script attached to it. In this script, ...
0
votes
0answers
57 views

Searching for permanent, correct fix to CS0009 Microsoft Compiler Error for Unity Game Engine Update

Has anyone had the CS0009 error in Unity that only happens when get a new version of Unity and simply create an empty project? This prevents even running a virtually empty scene. There are various ...
0
votes
0answers
29 views

Data folders for MonoGame project not included in published version

I have the three folders marked in the image that I added to the debug and release folders to have game data such as tile map info. It all works fine and the game uses them when running through visual ...
0
votes
2answers
1k views

How to generate .sln files manually in Unity

I'm using git with a Unity project of mine. I'm working on my home machine and also on one at school. I started it at home and it works perfectly on my machine. Once I cloned it at school it opened ...
0
votes
0answers
247 views

Unreal doesn't see Visual Studio 2019

I have Visual Studio 2019 installed, with all of the tools mentioned in the Unreal documentation installed, and when I try to create a C++ project in Unreal Engine, I get "No compiler was found. In ...
0
votes
1answer
319 views

Visual studio alternatives for unity as intellisense not working [closed]

I am new to unity and unity tools for game dev are unavailable in vs community,i also tried vs code.So what are some alternatives for vs for unity scripts for a beginner?
0
votes
0answers
112 views

Need help with a 'Read access violation' exception in an SFML/C++ project:

I'm recently learning to make a 2d game in SFML using a tutorial series on youtube by Suraj Sharma(Video 57): https://www.youtube.com/watch?v=kwd_AVCkvXE&list=PL6xSOsbVA1ebkU66okpi-KViAO8_9DJKg&...
0
votes
0answers
24 views

Prefabs x coordinate of position is getting mysteriously updated after destroying and reinstantiating them

Project brief I am trying to make a gamified version of to-do where the player enters tasks and is rewarded with points and a tree grows with the progress. What I am trying to do I have a list of ...
0
votes
0answers
31 views

How to extract data from a resource compiler script in c#

I need to know how to extract all data from a resource compiler script to a folder or the desktop. the .res files are compiled and added to an exe file. .res is the file extension. and if that is ...
0
votes
1answer
221 views

Why are Visual Studio and VSCode not giving me a dropdown list of methods and options etc?

I am using VSCode but I have also tried Visual Studio 2019 to write code for Unity, but when I'm writing the lines I don't get dropdown menus with for example the methods this class holds. Or objects. ...
1
vote
1answer
42 views

Can't open scripts in Unity 2019.2.11.f1 version

I'm using Visual Studio 2017, Unity Hub to 2.1.3 and just created a project using Unity's 2019.2.11.f1 version. Once trying to open a script in Unity, it doesn't open and then I'm forced to use Task ...
0
votes
0answers
42 views

Need help with a Lnk2019 error in an SFML/C++ project

I'm currently making a 2D video game using the SFML library on Visual Studio 2019 community with the help of a Youtube tutorial series by Suraj Sharma: https://www.youtube.com/watch?v=IdKZpv6xqdw&...
0
votes
0answers
36 views

Need help with sluggish sprite movement in an SFML-C++ project:

I've recently bought an SFML course on Udemy.The course is teaching me to make a game where you are chopping a tree while avoiding falling branches. Right now i'm learning to animate moving clouds ...
0
votes
1answer
1k views

Need help with an 'Exception thrown:write access violation:this was nullptr' in a c++ - SFML project

I'm currently learning how to program a 2d game with SFML using a tutorial series by Suraj Sharma.This's his channel: https://www.youtube.com/channel/UC2i39AOpDSlO1Mrn1jQ8Xkg The tutorial series: ...
0
votes
1answer
2k views

Need help with a C26495 warning and E0513 error in a C++ SFML class

I'm currently learning to program a game with the SFML library.I dugged up a bunch of SFML tutorials on Youtube and found a really good one by 'Suraj Sharma': https://www.youtube.com/channel/...
0
votes
0answers
17 views

Getting a control name/Displaying tooltip text

I am developing a character creator using Windows Forms (because apparently I can't create menus in Unity), and I want to display some tips and descriptions in a ...
1
vote
1answer
122 views

SpriteBatch.Draw has Padding on Monogame.Android

I am using Monogame to create a small Android game. I am trying to draw a sprite to the Android screen but it seems to have a padding of some pixels. The same game works fine on desktop. How can I ...
0
votes
1answer
195 views

Intellisence doesn't show the ECS API Summaries

I am not sure if this is more of an ECS topic problem or packages in general. but it would be really helpful for ECS programming with all the summaries the Unity has provided. For unity engine methods,...
0
votes
2answers
45 views

Find out reason for automatic break

Soon after I press the Play button, the Unity break button automatically gets activated: Unity gets into Pause mode: I have attached the Unity debugger to my C# code, but Visual Studio doesn't break. ...
2
votes
2answers
373 views

How game engines generate single executable games?

I was taking a look at Cryengine's and Unreal's code and when built both engines generates lots of dlls. Inside Cryengine's System code I could see that it calls LoadLibrary to load the dlls and ...
0
votes
1answer
164 views

ForceMode in AddTorque in Unity game development

In UNITY game development platform while programming in C# I came across a method to add torque to component: public void AddTorque(float x, float y, float z, ForceMode mode = ForceMode.Force); In ...
0
votes
1answer
188 views

How to get past Visual Studio “Setup Error” for Unity development?

When I launch Visual Studio from Unity on my laptop, I get the following error: Setup Error The setup for this installation of Visual Studio is not complete. Please run the Visual Studio Installer ...
0
votes
1answer
48 views

VS2017 (and 2019) Community Intellisense only showing part of the Unity class/method information, missing descriptions

If I hover keywords like Input.GetKeyDown, for example, I know it should tell me something about using it for autofire. I get autocompletion and the syntax ...
5
votes
1answer
2k views

How can I launch Visual Studio via a double-click on a C# script in Unity?

This is my first time using Unity and I am following the tutorial for the 2D RogueLike Game. Everythings seems to be working properly, apart that I cant get Visual Studio to launch, if I'm double ...
0
votes
1answer
254 views

Set / Get UserPointer - What Do They Do?

I see a lot of talk about glfwGetWindowUserPointer() and glfwSetWindowUserPointer() but I can't for the life of me understand what these functions actually do. From http://discourse.glfw.org/t/what-...
0
votes
0answers
53 views

Character Controller + Lag = Massive Teleportation Through Walls

I'm working on a fairly robust game with another developer and we've been having a really serious issue with (I believe) the character controller. Specifically, if there's ever a large lag spike (as ...

1
2 3 4 5