logo
down
shadow

UNITY3D QUESTIONS

MissingReferenceException in AudioSource on DontDestroyOnLoad GameObject
MissingReferenceException in AudioSource on DontDestroyOnLoad GameObject
may help you . You are referencing the AudioManager that you are destroying in the script that is trying to play the sound.Think of it this way. You have
TAG : unity3d
Date : January 10 2021, 02:06 PM , By : cashshadow
Is there a better way of finding non-empty tiles in a tilemap?
Is there a better way of finding non-empty tiles in a tilemap?
hop of those help? No You can't look at every tile any faster than looking at every tile at least once.
TAG : unity3d
Date : January 05 2021, 11:29 AM , By : amorican
Adding Unity Ads gives duplicate error when building project
Adding Unity Ads gives duplicate error when building project
may help you . I had same issue as you have, you should uncheck enable built-in extension for Unity Ads. I think you added Unity ads sdk manually and checked built-in extension.
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : ChrisMe
Using AddressableAssets.LoadAssetsAsync
Using AddressableAssets.LoadAssetsAsync
I think the issue was by ths following , When using a list of keys on LoadAssetsAsync, you need to add the 3rd parameter for MergeMode. Otherwise, your list is treated as a list of IResourceLocation.
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : arbeitandy
How to capture frames from the Unity3d camera and display them on another rawImage in real time?
How to capture frames from the Unity3d camera and display them on another rawImage in real time?
Any of those help If it is about a Unity Camera you don't have to capture anything.Simply create a new RenderTexture
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : ChrisMe
How can I import MapBox in Unity 2019.3.0a6?
How can I import MapBox in Unity 2019.3.0a6?
To fix the issue you can do GUI Layer Is now a legacy code, also take a look here https://forum.unity.com/threads/removing-the-guilayer-guitext-guitexture-components.608770/I think you need to wait till the package developers update their package, or
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : General Mills
Setting up Hololens MRTK 2.0 with Vuforia in Unity 2019.1
Setting up Hololens MRTK 2.0 with Vuforia in Unity 2019.1
I hope this helps you . This worked for me: Import MRTK package and add it to the scene. This will create a MainCamera under MixedRealityPlayspace Game Object. Then GameObject > VuforiaEngine > ARCamera. This will create an ARCamera with two componen
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : Richard
Key detection isn’t always working when changing gravity in Unity
Key detection isn’t always working when changing gravity in Unity
around this issue The document of GetKeyDown says
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : user171752
I'm not getting an .exe for my game after building?
I'm not getting an .exe for my game after building?
fixed the issue. Will look into that further Try to reinstall unity with a different version or to change machine probably there are problems with your set up
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : user104292
Is it possible to know which speaker is speaking in Agora.io voice chat feature?
Is it possible to know which speaker is speaking in Agora.io voice chat feature?
This might help you I would imagine the person who is the loudest would be the person you would animate. I would use enable volume indication with
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : jgood
How to repeat collision in unity?
How to repeat collision in unity?
This might help you You're instantiating the flower using Spriterenderer instead of a GameObject. Try changing public SpriteRenderer flower; to public GameObject flower; and create a prefab out of the flower Object.If you don't know how to create a p
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : user183954
Unity NavMeshAgent not reaching target - moving around
Unity NavMeshAgent not reaching target - moving around
wish help you to fix your issue I've created a simple scene and I'm now trying to make a rabbit move to the mouse-click position on a Plane. , Stopping Distance should be > 0
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : user165871
Am I doing something wrong with importing Oculus Integration in Unity?
Am I doing something wrong with importing Oculus Integration in Unity?
Any of those help Ok, this solves this problem, but either there is something wrong with Unity (tested 2019.2.0b4, 2019.1.4f1, and the 2019.3 versions) or Oculus Integration.Add and a reference to Unity.ugui in Unity like in the picture.
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : John Miller
how to deploy pytorch neural network for production code in Unity
how to deploy pytorch neural network for production code in Unity
it fixes the issue Check out the new features in Unity ML Agents. There is an inference engine within Unity ML Agents (called Barracuda) that allows you to use pretrained models within your app. AFAIK, you can convert Tensorflow and ONNX models into
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : Ken
Can't see plane in Unity
Can't see plane in Unity
it helps some times Planes are rendered only in one direction. So if you see the bottom you won't be able to see it.If you want to see both sides you could use a cube primitive and shrink the y scale component to be really thin, or you can make two p
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : Dominique Vocat
GameObject not synced with the colider
GameObject not synced with the colider
I hope this helps you . Instead of a box shape collider, try a Polygon Collider for 2D or a Mesh Collider for 3D. They should fit the bounds of your object more rigidly then a box collider.
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : Frank Bradley
Unity 3D - Render hole in place of object B, which is placed onto object A
Unity 3D - Render hole in place of object B, which is placed onto object A
around this issue I believe this shader i used to create a "hole" in the water for a boat. Might be what you seek.unity3d trouble with ship floating on water
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : LinnheCreative
Has anyone else experienced this build error in Unity
Has anyone else experienced this build error in Unity
With these it helps It is usually helpful if you could post the code in question, however looking at the error message, you are trying to load a scene with the name '3' instead of the number 3.To fix it:
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : socurious
Empty Project in Unity 3D
Empty Project in Unity 3D
Any of those help Your unity version is different (and that's ok) Those undeletable folders are there because they are required by Unity in order to function correctly. And they actually exist in your teacher's Unity project too! You just don't see t
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : n1ckless_id
Unity3D error "Invalid Build path"
Unity3D error "Invalid Build path"
this one helps. I don't know why it worked but when I choosed "downloads" file as exporting path, error has gone.
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : Willem van Schevikho
Why I can't sideload my .appx file and why it's nowhere to be found?
Why I can't sideload my .appx file and why it's nowhere to be found?
will be helpful for those in need I have no experience with the Unity side of this... but to create the packages for a UWP application, you would right-click the Universal Windows project and choose Store-->Create App Packages.
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : Gazza
Unity - Guidelines for color isolation effect
Unity - Guidelines for color isolation effect
fixed the issue. Will look into that further One approach would be: - Add a desaturate post process to your main camera and set its culling mask to everything(but turn off the effect) - Create a second camera, make it a child of the first one (so it
TAG : unity3d
Date : January 02 2021, 06:48 AM , By : user161380
UI Elements Not Rendering Properly on Android
UI Elements Not Rendering Properly on Android
wish of those help Make sure the UI/Default shader is present. Project Settings > Graphics > Built-in Shader Settings
TAG : unity3d
Date : January 02 2021, 06:31 AM , By : Ambarish Singh
hands not responding as expected on oculus Quest
hands not responding as expected on oculus Quest
I wish did fix the issue. thanks to all the helpers.update 1: if hands don't appear at all, its because Oculus integration 1.39 is buggy revert to 1.38 https://developer.oculus.com/downloads/package/unity-integration-archive/
TAG : unity3d
Date : January 01 2021, 02:10 PM , By : jbcrail
How can I make an objects rotatable only for the player?
How can I make an objects rotatable only for the player?
it fixes the issue You could store the rotation in a field and thus making sure the only thing changing it is your script:move it to LateUpdate in order for it to be the last thing called in a frame (also see Order of Execution for Event Functions)
TAG : unity3d
Date : December 27 2020, 04:58 PM , By : AJacques
Controlling Main Camera with xBox Controller (MRTK & Unity)
Controlling Main Camera with xBox Controller (MRTK & Unity)
will be helpful for those in need There are two things to solve here: How to move the player. Answer: Use MixedRealityPlayspace.Transform.Translate How to respond to gamepad input. Answer: you can use Unity's Input.GetAxis to figure out which buttons
TAG : unity3d
Date : December 27 2020, 04:28 PM , By : Yst
Making an object active after a few second with coroutine?
Making an object active after a few second with coroutine?
I hope this helps you . Instead of using a Coroutine at all you could also simply use Invoke which will still be executed on a disabled object!You could make it a little component like
TAG : unity3d
Date : December 26 2020, 01:30 AM , By : obijywk
Character is not changing animation state with script
Character is not changing animation state with script
Hope this helps Based on your description, it sounds like your positions are not precisely 0. Try swapping out your
TAG : unity3d
Date : December 26 2020, 01:01 AM , By : Per
Call method before ScriptableObject's OnEnable
Call method before ScriptableObject's OnEnable
Hope this helps Yes, you can use Awake(), which is called on scripts before OnEnable.Note that these messages work slightly differently on ScriptableObjects than on MonoBehaviours - there's a good thread over at Unity's forums discussing ScriptableOb
TAG : unity3d
Date : December 26 2020, 12:30 AM , By : Juice
How can I roll a Ball in unity in the direction my cam is looking?
How can I roll a Ball in unity in the direction my cam is looking?
this one helps. I have found a solution for it. Its a little workaround. I get a virtual rotation from my mousX moveing and add it to the ball and the Camera. To the Ball i add it with the Space.world and to the camera with quaternions. I try to give
TAG : unity3d
Date : December 26 2020, 12:01 AM , By : stan
Unable to get #pragma multi_compile working for this shader property
Unable to get #pragma multi_compile working for this shader property
seems to work fine The answer:Remove _ON suffixes on these definitions and it'll work.
TAG : unity3d
Date : December 25 2020, 09:30 PM , By : TheDave1022
How to verify that a trigger does not touch anything ( Unity 2D )
How to verify that a trigger does not touch anything ( Unity 2D )
will help you You can subscribe to the following messages: OnTriggerEnter: OnTriggerEnter is called when the Collider other enters the trigger. OnTriggerExit: OnTriggerExit is called when the Collider other has stopped touching the trigger.
TAG : unity3d
Date : December 25 2020, 06:30 PM , By : nabbed
UnityWebRequestAssetBundle load assetbundle is null
UnityWebRequestAssetBundle load assetbundle is null
will be helpful for those in need It is depricated!From AssetBundle.LoadAsset
TAG : unity3d
Date : December 25 2020, 12:31 PM , By : CodeOfficer
Unity - How to set the color of an individual face when clicking a mesh?
Unity - How to set the color of an individual face when clicking a mesh?
will be helpful for those in need As you say the issue is that the vertices are shared between triangles but coloring is always vertex based.The idea for a solution is:
TAG : unity3d
Date : December 25 2020, 12:01 PM , By : Tonix
Unity Editor: check if OnDestroy() method is called because the scene is closing
Unity Editor: check if OnDestroy() method is called because the scene is closing
wish help you to fix your issue I made a hacky hackjob, there is lot of room for improvement depending on how exactly your waypoints are layed out and know about eachother. If a connection is always mutual (means waypoint A is connected to B and B is
TAG : unity3d
Date : December 25 2020, 11:01 AM , By : Erwin
Slant Physics Raycast Implementation
Slant Physics Raycast Implementation
To fix this issue Use a differnt direction than Vector3.forward?Define two Vector3 fields in your class (names below are suggestions), then in Start() initalize them like
TAG : unity3d
Date : December 25 2020, 09:33 AM , By : Nandor Devai
Unity - How to use mesh triangleIndex to recolor a triangle when clicked?
Unity - How to use mesh triangleIndex to recolor a triangle when clicked?
I hope this helps . mesh.colors are the colors of the vertices not of the triangles.What you want to do is not coloring a single vertex but the triangle you hit.
TAG : unity3d
Date : December 25 2020, 06:33 AM , By : jumpingmattflash
Can't auth Google Play Games Services with developer build using App Signing
Can't auth Google Play Games Services with developer build using App Signing
will help you Make sure each of your Android Client IDs (one for each SHA1) are registered as a linked app in the Play Console (not only the Cloud Console), in the Games Services section.Each linked app in the Play Console corresponds to a pair (Pack
TAG : unity3d
Date : December 25 2020, 03:01 AM , By : Arun Thakkar
How to get name of closed rooms in Photon Unity?
How to get name of closed rooms in Photon Unity?
hop of those help? It says in the tag of GetRoomList() the following:
TAG : unity3d
Date : December 22 2020, 10:01 PM , By : user183842
Reference Pixels Per Unit
Reference Pixels Per Unit
may help you . See this answer on the Unity forums: https://answers.unity.com/questions/1309193/what-does-reference-pixels-per-unit-change-visuall.html:
TAG : unity3d
Date : December 22 2020, 10:01 PM , By : suresh
Stucked on changing shader albedo alpha smoothness
Stucked on changing shader albedo alpha smoothness
it should still fix some issue It is possible to do animations inside the shader if that's what you want, but keep in mind that a shader cannot remember any kind of information about the state of your model except what is going on at this exact frame
TAG : unity3d
Date : December 22 2020, 05:01 PM , By : Arun Thakkar
How can fragment shader run for every pixel if it receives only vertex input?
How can fragment shader run for every pixel if it receives only vertex input?
help you fix your problem The fragment shader does not "receives only vertex input"The vertex shader is executed for each vertex coordinate and it's input are the vertices and its attributes.
TAG : unity3d
Date : December 22 2020, 12:30 PM , By : Ernie
Difference between Blender 2.7, 2.79 and 2.8
Difference between Blender 2.7, 2.79 and 2.8
seems to work fine In plain functionality all three are more or less the same. If you are a beginner you will learn the basic compositions of models, what are verticies, edges and faces and so on. You can apply this knowledge to any version you want
TAG : unity3d
Date : December 21 2020, 11:30 PM , By : PPD
Unity 2D Launch object twards mouse at consistent speed regardless of distance to object
Unity 2D Launch object twards mouse at consistent speed regardless of distance to object
this will help The solution was to convert all Vector3's to Vector2's. The z axis was causing problems.
TAG : unity3d
Date : December 20 2020, 04:46 AM , By : user185144
Unity aab not compliant with the Google Play 64-bit requirement
Unity aab not compliant with the Google Play 64-bit requirement
this one helps. It looks that there was a bug in the Play Console where this message was displayed even when the AAB was compliant. This should have been fixed last Friday afternoon. Try again now.
TAG : unity3d
Date : December 20 2020, 04:35 AM , By : ck1
Calculate positions to place objects around a wheel
Calculate positions to place objects around a wheel
With these it helps I'm working on a 3D slot machine. For the reel, I'm trying to figure out how to calculate the X, Y, Z positions as well as thee Y rotation to place the objects like cherrys, oranges, etc.. Overall, there are going to be 28 pieces.
TAG : unity3d
Date : December 09 2020, 05:02 PM , By : Paulh
Child Components with rigidbody
Child Components with rigidbody
wish helps you to R Astra i checked again the eyewear collisions and i found out the problem. I had enabled the Convex mesh.
TAG : unity3d
Date : December 09 2020, 05:32 AM , By : Simon Capewell
White lines in object's edges. Unity project for Oculus Quest (android)
White lines in object's edges. Unity project for Oculus Quest (android)
this one helps. Had to go to the Nvidia panel and activate anti-aliasing and ambient occlusion, problem solved!
TAG : unity3d
Date : December 05 2020, 12:25 PM , By : amy
Custom Editor - How to add option to the settings list on a component
Custom Editor - How to add option to the settings list on a component
Hope that helps You don'T need a CustomEditor for this.Simply use the [ContextMenu] attribute like
TAG : unity3d
Date : December 05 2020, 12:12 PM , By : James Dio
Zenject Mono Installer not called in Scene tests under some circumstances
Zenject Mono Installer not called in Scene tests under some circumstances
I think the issue was by ths following , So you have two containers, the SceneContext and a GameObjectContext.I think what happens here is that they both get installed, but your GameObjectContext is not added to the SceneContext -- it worked until th
TAG : unity3d
Date : December 01 2020, 04:40 PM , By : RyanMcG
How to create an object in a cube in Unity3D?
How to create an object in a cube in Unity3D?
To fix this issue If you know the 8 vertices of your cube, it's easy to randomize an object inside of this cube. Consider the random object to have an x, y and z value in the position of the Transform. Both UnityScript and C provide a nice Random cla
TAG : unity3d
Date : November 28 2020, 08:01 AM , By : Guid
float in RWTexture<float4> outputs inconsistent values depending on what side on an if-statement it is
float in RWTexture<float4> outputs inconsistent values depending on what side on an if-statement it is
should help you out I received some assistance and we figured out the problem. In Unity I initialized gridModel using a RenderTexture with the following settings:
TAG : unity3d
Date : November 27 2020, 12:01 PM , By : Daniel Reslie
Adding material to gameobject in Unity is making it invisible
Adding material to gameobject in Unity is making it invisible
fixed the issue. Will look into that further Give a check in the shader of the material. If you're using sprites, instead of the Standard shader, change it to Default (inside the Sprites tab).
TAG : unity3d
Date : November 26 2020, 03:04 PM , By : Carter
Unity3D Getting position of OVRCameraRig
Unity3D Getting position of OVRCameraRig
wish of those help Afaik the OVRCameraRig itself doesn't move.What you probably want to get is the position of the centerEyeAnchor instead
TAG : unity3d
Date : November 26 2020, 06:28 AM , By : user103892
Text sizing issues when using small scale text mesh in Unity UI
Text sizing issues when using small scale text mesh in Unity UI
will help you Update: Try to add a CanvasScaler component to your container Canvas gameObject (add it only if it is not there yet).https://docs.unity3d.com/Manual/script-CanvasScaler.html
TAG : unity3d
Date : November 26 2020, 06:18 AM , By : Keonne Rodriguez
Unity - Adding new variables to binary formatted save data?
Unity - Adding new variables to binary formatted save data?
will help you Use a save format value By knowing what version of the save file you have, you can easily determine whether or not to attempt to decode a given value or not.
TAG : unity3d
Date : November 26 2020, 06:18 AM , By : ChrisMe
How to run some code in Unity3D after every x seconds?
How to run some code in Unity3D after every x seconds?
help you fix your problem I need to execute a code every x seconds till a condition is met in Unity3D C. The code should run irrespective of other code as long as the condition is true and stop otherwise. As soon as the condition turns false, it shou
TAG : unity3d
Date : November 26 2020, 01:01 AM , By : AJacques
Oculus DK1 SDK alternatives for Unity
Oculus DK1 SDK alternatives for Unity
To fix this issue Looks like this might work: OSVR-OpenHMD. There is a binary release in the releases tab. Haven't got a DK1 anymore, so can't test it.But I have to say Joe Blow is right - I wouldn't develop for DK1 anymore, almost no one has it thes
TAG : unity3d
Date : November 25 2020, 11:01 PM , By : Killercode
Unity3D: how to add models dynamically at runtime in unity web output?
Unity3D: how to add models dynamically at runtime in unity web output?
it helps some times Create a BuildingBluprint or BuildingLayout class which contains list of all items that the building can contain and the possible positions and rotations which they are allowed to have,Then make a building Instance which contains
TAG : unity3d
Date : November 24 2020, 03:41 PM , By : Raghu
Model cloth pressure in Unity 5
Model cloth pressure in Unity 5
may help you . The official 5.0 Physics Upgrade Guide says that cloth simulations have been improved, but there are some features that aren't available anymore like pressure:
TAG : unity3d
Date : November 24 2020, 09:00 AM , By : user121405

shadow
Privacy Policy - Terms - Contact Us © scrbit.com