Questions tagged [bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Unity get component throwing NullReferenceException only in standalone build

I'm having a very frustrating issue with GetComponent(). ...
0
votes
1answer
31 views

Unity: Bizarre Physics FixedUpdate Lag spikes

So I have this large forest of around 2M tris: Same chunk selected with view on the whole level: It's been generated within Blender and exported as fbx into Unity. Exporting each tree as an ...
1
vote
1answer
21 views

Problem with Rotation clamping in Unity

I'm trying to get a simple cannon to rotate to point at the mouse, but I only want it to follow the mouse for 180 degrees and then stop following the mouse, and pick up again when the player re-enters ...
0
votes
0answers
12 views

Animation doesn't play the same in-game as it does in the editor

When I play the animation normally without starting the game in Unity, it looks as desired. But when I play it in the game, the hand doesn't instantly scale to -1 it just slowly does it, as you can ...
0
votes
0answers
66 views

something very strange in one of the collisions with OpenGL 3.3

As some of you know, I'm developing a game engine in C, and I came across a problem that left me kind of lost. When I was developing my collision system, I saw something very strange in one of the ...
0
votes
0answers
20 views

SDL2 Block collision with player Bug

I am currently working on a small 2D Games Engine with SDL2 for fun. The engine works in a way, that you can define a tileset, which accesses the engine and allows you to place tile by tile on the ...
0
votes
0answers
27 views

Visual Studio Code not working with Unity

VS Code Version: Version: 1.34.0 (user setup) Commit: a622c65b2c713c890fcf4fbf07cf34049d5fe758 Date: 2019-05-15T21:59:37.030Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: ...
0
votes
1answer
38 views

SDL2 doesn't render a window

A tutorial's code from LazyFoo wonderful place's 01_hello_SDL page doesn't show a white form, but a desktop's screen, like a screenshot. Something like: The code: ...
0
votes
0answers
29 views

Placing tile on second layer results in wrong tile, or changes nearby tiles

So I am working on a 2d game and running into strange behavior when trying to add tiles to a tile map. The first layer seems to work fine but if I add a new layer it will always place the same tile ...
0
votes
2answers
86 views

Pygame Collision Bug

I'm trying to add collisions to my first game, and it has a bug. My code is: ...
0
votes
1answer
34 views

Unity Rendering (Bug): Objects rendered as multiple instances after repositioning

Context: I am currently making the menu for my game demo. It involoves "Raindrop"-Gameobjects (Sprites) being repositoned and recolored after a random amount of time. I do this by instantiating a ...
0
votes
0answers
105 views

Swift Error “unrecognized selector sent to instance 0x7f96875356e0”

This is the function i am trying to spawn obstacles in my game ...
0
votes
0answers
79 views

Prefabs imported from asset bundle are not lighting properly

It only happens in my main game project. I've tested it in 2 other empty projects, both in multiple versions of unity (2018.3.0f2 and 2018.3.2f1). The strange thing is that if I look at the material, ...
0
votes
1answer
36 views

unity emission map bleeds (bug?)

I have a material with a spritesheet texture (albedo) and an emission map. The spritesheet has 32x32 squares. The emission has a 32x32 square that is an emission for the magma-looking square. It ...
0
votes
1answer
159 views

Unity3D: activeSelf issues

I've been trying to script some basic AI for a Unity Roll-A-Ball game, which involves two balls collecting cubes for points (one controlled by the player and the other controlled by AI. Everything ...
0
votes
1answer
72 views

Unity3D HTC Vive graphical bug when making builds

Recently I noticed that my builds seem to have a weird graphical bug. This only occurs when I play a build. Running the game in VR in unity play mode doesn't show this bug. I am not sure what is ...
1
vote
0answers
47 views

Maya LT extrude tool won't work properly, is it buggy?

First several hours with Maya LT and already stuck and frustrated. Trying to extrude faces (let's say future legs) but the position of faces from which I am extruding won't stay on its place, it ...
-1
votes
1answer
151 views

Why is the line not being drawn?

I'm trying to add a few polishing touches to my puzzle game (made in Game Maker) in the vein of Ironclad. The following code is for adding a gem object to a stack that already has at least one other ...
0
votes
1answer
949 views

EventSystem first selected not highlighting

I'm trying to make a menu and encountered this problem. ...
0
votes
0answers
95 views

Unity built app crashes when using particle system

I have scenes with some basic flame effect. Its max particle count is 20 and there are not more than 4-5 instances active on the screen at once. I even checked the profiler but the memory usage was ...
2
votes
0answers
24 views

Can't see which line exceptions occurred on in script source files

After updating Unity to the new 2017.1.0f3 version, I can't see which line in a source file an exception occurred on. Example: I can't see the source of the error by double-clicking in the console ...
0
votes
1answer
268 views

How can I find out which Androids suffer from the Scrolling Button bug?

When developing in Unity, there is a bug where if you put a Button on a Scroll View, the scroll is hyper-sensitive on some Androids. This makes the button depress immediately after pressing it, ...
1
vote
1answer
191 views

Unity Marching Cubes triangulation bug

So, well I've been trying to find out the reason of the following bug in my marching cubes implementation, but I can't figure it out. Now this is a two state implementation of MC (just two exact ...
1
vote
2answers
164 views

Why would I receive a NullReferenceException when the object is clearly set, and still works?

I am getting the exception "NullReferenceException: Object reference not set to an instance of an object" while changing text of a user interface text field, even though the text changes successfully, ...
0
votes
1answer
1k views

All scripts in Unity game can not be loaded

I can not provide a "why" here, because as far as I can tell it happened spontaneously - after saving an edit to one of my scripts, it just started happening. But here's the problem: Every single one ...
2
votes
1answer
66 views

Strange behavior in collision detection

I am making a 2d platform game with a tiled map,i now avoid passing through the walls an the ground but when the character hit the ground it shakes vertically,and when i make it walk on a wall it ...
1
vote
1answer
104 views

Android build has white image over game

In unity when I am playing my game it displays fine, but when I build and run it to my nexus 5 there is this white something I don't even know over my game. Any suggestions for fixes?
0
votes
0answers
71 views

Strange artefacts on objects behind glass in Unity 5

I think the image speaks for itself. Basically all those little dots shouldn't be there, and they go away as soon as I hide or move the glass. Any ideas on how to fix it? This is the glass materials ...
1
vote
1answer
88 views

Text shows the wrong way - Unity bug?

I was working in the next scene, the font I used has worked well in another scene, but why when I go back to this "main menu" scene does the font look destroyed (previously show well)? ...
-2
votes
1answer
2k views

How to fix an alarm event not triggering? [Gamemaker studio]

Object_1's alarm 1 event show_message("alarm triggered"); if (Destroy = true){ instance_destroy(); } Object_trigger's alarm start ...
1
vote
1answer
47 views

Permanent Adjacency Problem [Gamemaker Studio]

Situation: I started work on a pet project recently. It's a bit like Puzzlecraft, or Bejewled, but slightly different. You click one gem, as we'll call it, and if it's the first in the link, then it's ...
0
votes
0answers
81 views

Why does my world generation code perform poorly on large inputs?

I'm writing some code to procedurally generate some islands in real time. The idea is to choose some points for each chunk, and for each tile calculate the distance from those points, then combine it ...
2
votes
1answer
153 views

Upgrading Unity from 5.1 to 5.3.4 has broken game, specifically models made in Blender

I recently decided to upgrade Unity after putting it off for some time as I have a rather sizable project started in 5.1. I knew there would be some hurdles, however, I have had very little luck in ...
0
votes
2answers
1k views

Unity Editor windows went black

I recently bought a new laptop, with Intel i5-5200U HD graphics 5500 and AMD Radeon R5 M230 2GB and 8gb ram, and heres what happens with my Unity: If open it, minimize it and then maximize again, it'...
0
votes
3answers
3k views

Problem with Input.GetKeyDown to set a counter in Unity: multiple values in only one pressing

Using Unity 5, I want to use have one keyboard key ("f") increase a counter when pressed. It means, using Input.GetKeyDown("f") function in a way that: if "f" is pressed when the counter=1, then the ...
4
votes
2answers
2k views

How to stop sinking bodies in physics engine C++

I'm writing a rigid body simulation in C++, and have come across a problem when an object should come to rest on the ground. Because gravity is being applied to it's velocity, the object starts ...
0
votes
1answer
2k views

Unity 3D error when compiling to WebGL: Destination directory not found

When I try to compile my Unity project to WebGL in Development mode on Windows 8.1 (and with the latest version of Unity), I receive the following errors (the first one is truncated because it's ...
1
vote
1answer
372 views

Unity Animated Player Character Rotation Glitch

I was wondering if anyone experienced this issue in Unity with Mecanim-animated characters ... I have an animated player character with a third-person camera control (Game Camera from the asset store,...
2
votes
1answer
824 views

Unity2D 5 - Flickering sprites on Android

So the game had been working fine for a few days on Android phone without any issues. Today, after adding some scripts and tweaking the game a little bit (tweaks which have nothing to do with the ...
1
vote
0answers
55 views

Beta testing of a prototype

I have developed a prototype for a new game concept. The game is an educational foreign language learning tool for K-16 students. I am at the point where I need to test with sample groups of students,...
0
votes
0answers
97 views

LibGDX strange status bar in background [BUG]

I released an app and I noticed that some devices has a strange "bug" which I don't know if it's caused by Android, me or LibGDX. That bug is related to status bar, normally app let you see the bar (...
1
vote
2answers
634 views

Unity: Can't press space to unpause. Is this a Unity UI bug? Or maybe poorly written code?

So I think I have a bug with my pause menu. For the sake of simplicity I've boiled down what I'm trying to acheive: When the player first starts up the game there's a UI menu with one button: 'Start ...
2
votes
1answer
906 views

Problem with update/render in game loop (scrolling view, render interpolation)

I use SFML 2.2 and program a 2d prototype game (2d mario style where the camera follows the player). I am experiencing the buggy imagery during rendering, for example a chunk of vertex array blocks ...
5
votes
1answer
2k views

Unity Android Orientation Bug in Auto Rotate

I am currently looking for a workaround, or fix, for a Unity bug. I want to be able to auto-rotate my game, while respecting the Android system settings. Currently, if you set your Unity Orientation ...
3
votes
3answers
805 views

Why do my Box2D bodies occasionally get stuck and separate forcibly?

I'm making a space game with LibGDX and Box2D. I made a video here to illustrate the issue. Verbal description: When objects collide, they sometimes get stuck together and are then suddenly separated ...
0
votes
2answers
340 views

Why does my A* implementation overflow the stack?

I'm fairly new to game dev and working on my first ever attempt at 2D pathfinding. I'm using the A* algorithm as detailed here. For the most part, it seems to be working correctly and as intended. ...
0
votes
1answer
566 views

Why are my target-following objects rotated the wrong way?

I writing a script that would make my players reach a target destination. It looks like this so far: ...
7
votes
1answer
504 views

Unity: Why do my normals flip during an animation?

This problem boggles my mind. I have an animation running on a face object (imported from Blender). At a few points in the animation, the normals switch direction! It causes the mesh to blink. Of ...
3
votes
3answers
2k views

Unity - SetLookAtPosition() - Body Jittering?

I'm working on a third person controller and I'm trying to make character look at the same point as the camera. The problem is that the character jitters all the time the SetLookAtPosition() starts ...
0
votes
1answer
556 views

Why does my SFML game cause screen tearing on Linux?

I wrote a little game of a bouncing ball, using SFML and Box2D. On Windows, the graphics animate smoothly. However, on my Linux machine, the animation stutters randomly. To be precise, I get a ...