Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
1 vote
1 answer
39 views

Visual Studio is not being installed and I can't quit installing it

I'm new to Unity, making my first steps, but I got stuck with the installation of Visual Studio. It's not being installed and can't be cancelled. I tried to add a module and Unity started the ...
Coder4Fun250's user avatar
1 vote
0 answers
72 views

How do I create a build from a custom Game Engine?

I have an custom Game Engine, made in C++ and made in Microsoft Visual Studio 2019. Currently, this Game Engine has a .sln with the following projects: TheGameEditor, which is the current entry point ...
JonathanCacay's user avatar
0 votes
0 answers
93 views

Cmakelists.txt with sfml/glew/glm .exe doesn't work

I am working on a game in c++, i want to make a Cmakelists.txt file for build a .exe file. ...
Gaëtan S's user avatar
0 votes
0 answers
81 views

Can't start Unity project, none of the scripts load and materials are pink: JSON parse error: The document is empty

I am trying to open a project from a company, the problem is, nobody has this problem except me, so one can replicate it. When i open the project i get the following issues: There seems to be a file ...
Seyren Windsor's user avatar
0 votes
0 answers
39 views

Specular lighting does not appear

I'm struggling to add specular lighting on-top of diffuse lighting and not entirely sure where I'm going wrong. I've followed the instructions given in our lecture but it just doesn't seem to be ...
Skoosh's user avatar
  • 1
0 votes
0 answers
417 views

How can you get the Sid Meier's Civilization V SDK to run?

I'm trying to get the Sid Meier's Civilization V SDK to be able to do some improvements to the UI. It is possible to install and run it from Steam Library after ...
Juuso Nykänen's user avatar
1 vote
1 answer
403 views

How to get Keyboard working with GameInput on PC in C++

I need some help here. I try this for a while now but it won't work and I can't find anything online. I want to write my own input handling. At first I used XInput for gamepads and Win32 callbacks for ...
Fragrantius's user avatar
0 votes
1 answer
53 views

Bullet physics linker error

I am trying to build my project in VS, which is a copy of HelloWorld.cpp provided by Bullet. I am getting a list of errors of sort "unresolved external symbol" when I build my project, ...
SigmaKlim's user avatar
1 vote
0 answers
17 views

Editor script in VStudio cannot 'see' main scripts

(Notice: This is a crosspost with r/UnityHelp) When loading a custom editor script into VStudio, it cannot see the main game scripts. This is quite annoying for writing code, as you'll imagine. ...
Weckar E.'s user avatar
  • 832
0 votes
1 answer
29 views

How can I load symbols for Composure?

I'm trying to load symbols so I can use breakpoints in Composure scripts and see how they control the PostProcessing of the SceneCapture2D component (because of this problem), but breakpoints hit. I'...
starphan's user avatar
0 votes
0 answers
38 views

Room re-drawn multiple times when player walks into door

Using Visual Studio with C#, I am trying to have another room redrawn after the player walks into a door. What I'm finding is it creates more than one room and the walls don't line up. The code is ...
charlie's user avatar
  • 11
0 votes
1 answer
47 views

playerOne.Score += 1; isnt working when my player picks up a item?

so currerntly i am working on a game just uses visual studio using C# but i have a issue where the player picks up a coin but it is not added to the score any reason why this would be. ...
charlie's user avatar
  • 11
0 votes
2 answers
107 views

Can I contribute code to an Unreal game without running the engine on my system?

I want to get into game programming, but my system can't run Unreal Engine. Another programmer I'm working with is using Unreal on his system, so I want to know if it's possible for me to code using ...
Aki Toby's user avatar
0 votes
1 answer
26 views

Visual Studio showing only one code suggestion?

I'm on visual studio 2022 (not visual studio code) for unity, and for some reason, visual studio will only display one suggestion, and asks me to press Alt+. to see the next one. IntelliSense is ...
Christopher Yeung's user avatar
0 votes
1 answer
486 views

How to change sprites for multiple child object from a parent?

I am not much of an expert, tried to look up for solutions but I never found any that I could use. I have a parent object, and I want to change it's child objects randomly. This is the hierarcy: I ...
imbruceter's user avatar
0 votes
0 answers
85 views

Unable to create an iOS project in Stride

I'm trying out stride but building my project fails for iOS. Windows, mac, and android work until it hits iOS and then it fails. I can create an iOS app in visual studio 2022 fine though. My error is: ...
tbunreal's user avatar
  • 101
0 votes
0 answers
337 views

How to fix build errors in Stride Engine

I tried building Stride.GameStudio with with Visual Studio 2022, but it failed, with errors. I tried these steps from the README file. Close VS, clear the nuget cache (in your cmd dotnet nuget locals ...
Jillinger's user avatar
1 vote
1 answer
522 views

Unity LoadScene did not seem to work properly

My logic is simple: after conditions are met, display an image (an Image class instance) and restart the stopwatch. After a certain time, reload the scene. In a <...
Amarth Gûl's user avatar
0 votes
1 answer
672 views

Unity with VS Code: .sln generated is missing assemblies. Only .sln generated by Studio works (with Code as well)

After every Unity update I have a lot of problem with missing assemblies in Visual Studio Code. ...
Tudvari's user avatar
  • 751
1 vote
1 answer
265 views

How can I enable intellisense for Stride 3D in Visual Studio?

I have installed Visual Studio and Stride 3D, but, when I'm using Visual Studio it doesn't help me with code recommendations. For example, if I write "Ent" it doesn't show me ...
MilitaryG's user avatar
0 votes
2 answers
757 views

Errors displayed even when the project runs in Unity

I work with Unity and Visual Studio. Almost every single keyword is underlined with the red curvy lines (representing error) in all scripts but the game works fine when I play it. I tried unloading ...
Naitik's user avatar
  • 1
3 votes
1 answer
4k views

Visual Studio not recognizing Unity's new Input system

I'm attempting to learn Unity's new input system, but when I try to add using UnityEngine.InputSystem; to my code it gets a red squiggly line under it. It doesn't ...
Millard's user avatar
  • 500
1 vote
1 answer
471 views

OpenGL - Debug version runs faster than Release version

My Visual Studio 2019, 64-bit version of Tetris using OpenGL runs significantly faster, 3X, in Debug mode than in Release mode. The image above shows the board. Each cycle of the rendering or game ...
user34299's user avatar
  • 133
2 votes
1 answer
1k views

How do I prevent my game from being detected as a virus?

I developed my own game engine and I'll refer to it as a Software Development Kit (SDK) here, for making a specific type of game. The SDK encapsulates low level DirectX APIs. It's written in C++ and ...
DHarding's user avatar
0 votes
1 answer
351 views

Calling a function from Super is getting an error

I am following GameDev.tv's unreal C++ course, but I am getting an error that is causing my compiler to fail. I'm coding a player controller, and I think I followed all the steps right but when I ...
Millard's user avatar
  • 500
0 votes
2 answers
680 views

cant add unity scripts to obects "unity_csc.bat not found. Is your Unity installation corrupted?"

I got a new computer and on it I installed unity and signed in etc. when I load it up however and try adding scripts to objects in the scene it doesn't add them and has this error: "cant add ...
Object's user avatar
  • 289
0 votes
0 answers
119 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 ...
Lomusire's user avatar
0 votes
0 answers
411 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 ...
Millard's user avatar
  • 500
1 vote
0 answers
275 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 ...
Millard's user avatar
  • 500
1 vote
1 answer
327 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 ...
hulkmeister's user avatar
0 votes
1 answer
799 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 ...
Millard's user avatar
  • 500
0 votes
1 answer
562 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 ...
ruitachibanapaint's user avatar
1 vote
1 answer
143 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) ...
Lomusire's user avatar
0 votes
1 answer
2k 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 ...
JSON Brody's user avatar
1 vote
1 answer
2k 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 /...
formatc2013's user avatar
0 votes
1 answer
72 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 ...
Louis BERTRAND's user avatar
0 votes
1 answer
67 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 ...
Stormzy18's user avatar
2 votes
1 answer
2k 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 ...
formatc2013's user avatar
1 vote
0 answers
31 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 ...
galbe-droid's user avatar
-1 votes
1 answer
731 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 ...
Maha Mohy's user avatar
0 votes
1 answer
2k 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 ...
Stormzy18's user avatar
1 vote
0 answers
413 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?
IndividualGames's user avatar
0 votes
0 answers
76 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 ...
Fungigamer's user avatar
0 votes
0 answers
552 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, ...
Rodrigo de Bem's user avatar
1 vote
3 answers
6k 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 ...
Derek C.'s user avatar
  • 131
0 votes
0 answers
1k 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 ...
user12563476's user avatar
0 votes
1 answer
500 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?
user134855's user avatar
0 votes
0 answers
551 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&...
TankRocket's user avatar
0 votes
0 answers
35 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 ...
Abhinay's user avatar
0 votes
0 answers
120 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 ...
easyanswer's user avatar

1
2 3 4 5