Questions tagged [unity3d]

Unity is a cross-platform game engine with a built-in IDE developed by Unity Technologies. The unity5 tag refers to a specific version of the unity engine code, please only use this tag if you are using the unity5 specific version of the code

0
votes
0answers
9 views

Unity Multiplayer Data Encryption

Is data encrypted using unity LLAPI? Can a malicious actor catch packets and modify them? I'm initializing connections like this: NetworkTransport.Init(); ConnectionConfig cc = new ConnectionConfig();...
0
votes
1answer
17 views

Why the On Click() Function in UI Button Is not Triggered?

I'm making a VR game , the game has a UI canvas that has 2 Buttons inside it. The pointer interacts when i hover the pointer on the buttons,also the buttons change color,however when i click on the ...
0
votes
0answers
8 views

Google sign in not working after publishing in play store. Unity, CloudOnce

Google sign in not working after publishing in play store. As I found out I need to connect another signature, Sha-1, I use CloudOnce. Where to enter the new Sha 1? Everything worked in private mode, ...
0
votes
0answers
5 views

RegisterType from unity configuration file

I am migrating from Prism 4 to Prism 7.1, I cannot seem to find the ConfigureContainer method has been removed from the latest Prism release. In the past, I had used this method to load the unity ...
0
votes
1answer
17 views

Having trouble connecting Unity3d WebGL project build to database, works fine in editor

I used this code to connect my Unity project to my MySql database: public void SetupSQLConnection() { Debug.Log("Connection Function Started"); if (connection == null) { Debug.Log(...
0
votes
1answer
19 views

How to fix in-game double-click issue in Unity?

I have this issue with double clicking in-game. I wrote this code that checks for input and returns the type of input it received. In editor it works just fine, but when I export the game it always ...
1
vote
1answer
21 views

How can I delete a gameobject that is part of prefab without damage the prefab?

I have this door standing in the air and I don't it. When I try to delete the door I'm getting the message: The door is part of the prefab name: Circular_Room_01 When I click on Open Prefab I see: ...
1
vote
0answers
12 views

Create pop menu Sims's style when click on Character in Unity3D

I'm trying to build a game that uses a concept from the known game "The Sims". Right now I'm building the AI for a 3d Character, and I need the player to be able to tell where the character should go ...
0
votes
0answers
8 views

Unity Collaborate with Vuforia

When I download a unity collaborate project from the cloud that has vuforia assets the vuforia scripts are not linked and the settings are not set.
0
votes
1answer
26 views

Namespace or type 'Twilio' could not be found

I'm trying to use the Twilio API in my unity project but when I try to build in unity I get the error: namespace or type 'Twilio' could not be found (are you missing using directive or reference?) Now ...
-3
votes
0answers
17 views

Adding Dialogue with AR (Swift) [on hold]

I want to create an application that involves AR with dialogue on screen. The interaction will be similar to woebot and will include questions with button style answers. I am also using ARkit with ...
-2
votes
0answers
15 views

Unity 2018.3.9f1 Version Start Server Error

From the version of unity 2018.3.0 to unity 2018.3.After upgrading to 9f1, when I wanted to open my projects from the previous version and a new project to the new version, I encountered errors like ...
0
votes
0answers
19 views

Uploading large files using UnityWebRequest

I have an API to upload file to Microsoft Azure blob storage. Users can be uploading large files. Webclient handles files automatically, but its progress change event doesn't work. Here is a link to ...
-1
votes
1answer
26 views

anim.SetBool(“IsWalking”, walking) error in unity animator

In the Unity learn section - survival shooter, I am getting an error shows the following error Type "UnityEngine.Animation" does not contain a definition for "SetBool" and no extension method "...
-1
votes
0answers
12 views

Unity3D application signal 11 (SIGSEGV) ON ANDROID 8.0/8.1

We are implementing 2D game using Unity3D. After AdMob plugin integration we are getting frequent signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) crashes on Android 8/8.1 devices during playing video ...
1
vote
0answers
10 views

Is it possible to use the Goolge ARCore camera sharing feature in Unity?

The Google ARCore documentation for Android describes how to share the camera access with ARCore (https://developers.google.com/ar/develop/java/camera-sharing). Is there a way to use this feature ...
0
votes
0answers
23 views

UploadProgressChanged Event Not Being Called (More Details)

This question is exact duplicate of this one: UploadProgressChanged Event Not Being Called Some more details: I am using Unity 2018.2.13f1 The API is a POST method Video attachment is here Code ...
-1
votes
1answer
20 views

Unity editor - How to stop field from turning blue when its edited

I am making a tool in Unity to build your project for muliple platforms when you press a button. I started with the preferences window for the tool, and came up with an anoying thing. Whenever I ...
0
votes
1answer
37 views

How to implement advertising after 5 losses? Unity android

How to implement advertising after 5 losses? How to implement advertising after 5 losses? Unity Ads. It works, but I need to do that after the player loses five times, an ad is on! Here is the code ...
-1
votes
2answers
40 views

Why Coroutine Method Work Only Once Unity3D

I have an object that I want to move by swipe, for example when the swipe is up the object should move forward smoothly from point A to point B, swipe right the object move smoothly to the right etc......
0
votes
0answers
9 views

ARCore Unity AugmentedImage: Videos do not scale to Image targets

I have been trying various ways for achieving this and still something seems wrong with my AugmentedImageVisualizer – either the script or the prefab. The Videos do not scale to the image target size. ...
0
votes
2answers
29 views

Disable an option(s) in a dropdown Unity

I need to disable 1(or 2) dropdown option from a dropdown menu in Unity. The dropdown menu should not be repopulated. There should not be any deletion/deactivated options from the dropdown menu ...
1
vote
0answers
63 views

I have a question about the error that occurs when I add a Generic-based class to a Component as a Singleton in unity

situation I want to implement a generic-based 'PoolingManagerBase' in a singleton pattern for class pooling. Question Why is it that a class that inherits from 'PoolingManagerBase' does not create ...
0
votes
0answers
24 views

www json api response to string

enter image description hereI am working on an app in unity3d which is using a tmdb api for an application that allow the user to search for a movie and then display it in the text area, the problem I ...
0
votes
1answer
13 views

Unity android fail to build after added Firebase Storage package

Before I adding Firebase Storage to my Unity project I was able to build the APK with Firebase Auth, Analytics, Facebook SDK and Google Play package. After I added Firebase Storage I starting to get ...
0
votes
0answers
40 views

How can we import php mysql database into google cloud?

I have developed a game using unity3d. For user registration and login I used php and use one of the database of my website. But now I want to change database and want to use google cloud. But while I ...
0
votes
0answers
23 views

Getting Data from IEnumerator

HI There are 2 scripts inside this project Script A and Script B. Inside the Script A public class asd : MonoBehaviour { private const string URL ="http://192.168.10.89:8080/GameManage/userInfo/...
0
votes
3answers
53 views

How to make a Power Up last for a certain amount of time after collision?

I am making a weird little runner game and I am trying to add a power-up that will allow the player to jump for a short while, maybe 10 seconds. using UnityEngine; public class PlayerCollision : ...
0
votes
1answer
21 views

triggerzone reads the same object every frame

Trigger-zone reads the same object every frame, it is not supposed to do that and it is messing up the game. It does not happen all the time and I don't know why Sorry for the messy code, I am not too ...
0
votes
0answers
32 views

Get and Set System.Object value using Unity SerializedProperties

I want to be able to specify the type with an enum and assign the value to the object variable, but I keep getting 'NullReferenceException ..' error message. I have this simple class: [System....
0
votes
0answers
29 views

Connecting to SQL Server with Unity

I am trying to connect to SQL Server with unity. I have done this many times before but not on unity. It says completed but the data is not inserted. I have already added the System.Data.dll to my ...
1
vote
0answers
21 views

How to set Texture readable from Image Capture by Camera in Android or IOS Unity?

I have try to build an app which need to use a camera to capture an image (Credit Card) and read the number from the image. The number i need to read is card number, expire month, and year. I use a ...
0
votes
1answer
19 views

unity - GPU RAM is not released after taking a photo

how to free gpu ram memory after taking a photo when reached ~1000 photos my computer is stuck because I used all the gpu ram for now I am using the code below to create a photo: IEnumerator ...
-2
votes
0answers
43 views

C# string concentration acting weird [on hold]

I'm writing a networked game in unity. Here's the setup: I have two strings. string msg ="join"; public static string KEY ="abc"; //Somewhere else in the class "Msg" is a parameter in the ...
0
votes
1answer
24 views

How can I decide if to add or not children also in the Update in real time?

using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode] public class GameObjectInfo : MonoBehaviour { [System.Serializable] public class ...
-1
votes
0answers
27 views

Error CS1503: Argument 2: cannot convert from 'float' to 'UnityEngine.Vector3'

The code I have has the error in the title of this post. I am making a game in unity. This code is used for a rocket that, when it hits something, it explodes. In theory the code should work properly, ...
0
votes
0answers
18 views

Change which objects button control over time

I am making a game where the player is able to only rotate the current tile that they are standing on. I'm using OnCollisionStay and Input.horizontal and vertical to achieve this now. It works great ...
0
votes
0answers
10 views

Enhancing existing Unity Android Cardboard game for Oculus Go

Background: A few months ago, I used Unity (2018.2) & C# to write a VR chess game for Android Cardboard. (https://pawnslaught.com). I now want to enhance it for Oculus Go using Unity 2018.3 (2018....
0
votes
2answers
42 views

Move Object to Destination Smoothly Unity3D

I am trying the whole day to move an object from point A to point B smoothly, so I tried Lerp, MoveTowards and SmoothDamp but every time the object just disappear from point A and appear on point B ...
0
votes
0answers
38 views

Run function next frame (Not in update()) Unity

I am trying to run a block of code a certain amount of seconds after a 2D Collision. Currently, when the collision occurs it calls a function that loops over itself until a certain time is reached. ...
-1
votes
0answers
17 views

How do I exchange attributes between an Object and the Object it has instantiated

I have a cannon that instantiates a cannonball's shadow prefab at its base, which then instantiates the cannonball prefab itself. I want the ball to follow its shadow until it either hits the player, ...
0
votes
0answers
18 views

Canvas image not scrolling seamlessly

Good day, I've been trying a lot to seamlessly repeat the canvas image but I've failed to do so inside the canvas, The problem seems to be inside this function's definition: RepositionImage() It ...
0
votes
2answers
16 views

Contact point between OverlapCircle and certain collider in Unity

I am trying to get the contact point between a Collider and OverlapCircleAll to play an animation on that point. This is the method I am using for the attack. private IEnumerator ...
0
votes
1answer
13 views

Multiple Tilemap Maps Loaded Dynamically

Feel free to close this question if it is deemed too subjective. I realize that it might very well be, as it may focus heavily on best practices, which, if not an industry standard, may be subjective. ...
0
votes
2answers
34 views

Unity 2D - low fps in editor, 60+ fps in build

we are developing platformer game in Unity engine. Currently in our scene are 15 npc, movement is animation based, they are navigated via scripts, they can talk to player, fight etc. Rigid body does ...
0
votes
0answers
16 views

my app don't show my video but it recognize the img

my question or problem its that my app recognize the image but it don't play the video clip i was tryng to when the app recognize a image play some videoclip but it dont show me a error just put some ...
1
vote
1answer
32 views

How to override default behavior of END button in InputField, in Unity?

I'm trying to create a simple text editor in Unity. Right now, I'm trying to override the standard End keyboard key functionality. I'm using the "new" UI system and an InputField as the text editor. ...
0
votes
1answer
21 views

Unity c#: making an array of class type equal to FindObjectOfType [on hold]

In my c# script I am working on, I have this code public class Attractor : MonoBehaviour { public Rigidbody rb; private void FixedUpdate() { //physics code Attractor[] attractors = ...
0
votes
0answers
22 views

cant install any programs writen in C languages

I am making a game in Unity 2D for my computer science a-level coursework on a laptop. This laptop got bricked however (not charging, completely unusable even when plugged in to wall). I have another ...
0
votes
0answers
27 views

Blank white screen in Unity editor

I have the same problem as the link given below: The editor has a blank white screen and resizing the window just messes everything up. I tried restarting, uninstalling and reinstalling, and making ...

http://mssss.yulina-kosm.ru