Quantcast
Channel: Latest Questions by AmasterAmaster
Browsing index pages (57 articles)

How to align an object's rotation to another GameObject's rotation (without...

If this question has been answered before, please let me know, as I do not know how to properly word this problem. But I will give it a try. What I want to do is to align the rotation of a gameobject...

View Article


Could not connect to server: Operation timed out

Hello, I am having a problem connecting a client computer from another part of the world to my remote asset server. But when I try to connect the computer using the unity asset server, I get this...

View Article


Gamecube Controller joystick axis does not work?

I am trying to get a Gamecube controller to work with Unity 5. I have connected the Gamecube controller to the Wii U adapter that is then connected to my laptop. The controller is calibrated correctly...

View Article

Unhandled Exception: System.StackOverflowException when using Switch Statement?

There is an issue where the switch statement does not work anymore and then Unity complains that another script is to blame for this exception. I don't know why or how this error is occurring but it is...

View Article

RenderTexture.Create failed: format unsupported

This error shows up when I make a Mac OSX build of a game I am making that utilizes the Render texture feature. It works for a Windows build, but it confuses me on why it is not supported for a Mac...

View Article


`System.IO.File' does not contain a definition for `ReadAllBytes'?

I have no clue what happened but all of a sudden I get this error that says: `System.IO.File' does not contain a definition for `ReadAllBytes' I don't know why the unity engine is freaking out about...

View Article

Is there a way to click on a render texture to select soemthing within the view?

Basically I was thinking if there was a way to click/select a certain part of a render texture that selects the correct selection within that view provided. How would that work? Would I have a...

View Article

Is there a way to dynamically attach a script to a GameObject during runtime?

What I am looking for is a way to find a script/MonoBehaviour during runtime that can attach to a GameObject as a component dynamically. There could be thousands of these scripts (that is the extreme...

View Article


How to segment a number line of game objects between two points dynamically?

How can I dynamically segment a line between two points? For example, I want to put GameObjects between two points and as more objects get added, I want to segment the conceptual line by a number so I...

View Article


Setting Textures causes GameObject Material to turn black?

I have no idea why setting materials causes my GameObjects to show up as black (does that mean it is null? But the inspector says otherwise). Could this be a bug in Unity or is there a problem with my...

View Article

How to scale a GUI (Lagacy) grid?

Hello. I am having an issue where I want a grid of GUI (Legacy) components to scale. But the problem is that I am having trouble with the scaling logic of the grid. I want it so that when the window is...

View Article

How to access Editor Script Functions like a regular Script?

I had a previous script working while having "using UnityEditor;" on the top of the script, but it will not build becuase it is not in the "Editor Folder". I moved the script to that folder and Unity...

View Article

How to make a selection list using either GUI system?

How would one go about to make a list of selectable/clickable/interactiable items (pictures, words, anything) using any GUI system (either the legacy system, the new UI system, or through scripting)? I...

View Article


Specular/Metallic is not working in standard shader?

I recently downloaded and upgraded to Unity 5 to test out the standard shader for myself and when I try to mess with the Specular/Metallic settings, the sphere only turns black instead of it turning...

View Article

"DllNotFoundException: htmlTexture" How to let Unity find the DLL?

Hello, I am trying to use a plugin that I have found that uses the html for textures, and I am having trouble making the thing work in my project....

View Article


PS4 Analog Sticks Are Not Analog?

I have this weird situation happening to me when I attempt to use the PS4 controller with unity. Mainly with the axes of the control sticks (both the left and right control stick), they are registering...

View Article

How to turn a camera inversely from another camera (Similar to a realistic...

I am confused on this question, how can I turn the camera inversely (as in, if I look directly into a mirror, I should see a perspective facing back at me, then if I look at the mirror at a 45 degree...

View Article


Color[][] is not storing color. Object reference not set to an instance of an...

Hello, I am trying to reverse an image of a texture2D. I have tried many different attempts at this problem to no avail (including, but not limited to: Reverse() of arraylist, mixing jagged arrays, and...

View Article

GUITexture is not working (unreferencing itself?)

I have been trying to get the GUI texture on unity working (more specifically, changing the image), but every time I try to do so, it either does not want to work or it un-references itself (becoming...

View Article

How to align an object's rotation to another GameObject's rotation (without...

If this question has been answered before, please let me know, as I do not know how to properly word this problem. But I will give it a try. What I want to do is to align the rotation of a gameobject...

View Article
Browsing index pages (57 articles)


Latest Images