How would you create an invisible AR wall?
This is kind of a confusing question, but in my AR game, I practically want an invisible wall where the user can see the real world through the wall, but not the virtual objects behind it. To the user,...
View ArticleImage.rectTransform Y seemingly adding values
I'm writing a script that moves a Canvas Image to a point on the canvas, then back to it's original position. I only want to move the image on the X axis. image.rectTransform.localPosition = new...
View ArticleHow to I bounce an object away from the mouse position
I'm trying to make a Jenga game where you click a piece to push it out of the stack. I also want to add a way to pull it. How do I make a piece move towards the mouse? I can't figure out how because...
View ArticleHELP!,I need help with editor installation
I can´t use Unity because, when I open the editor or any project, it shows me a menssage that it says: "MSVCP120.dll is eighter not designed to runon Windows or it contains an errro" NEED HELP :(,I...
View ArticleChild object always instantiate at first index in parent? SetAsLastSibling...
I tried to instantiate the two prefab in panel transform as parent, but the 2nd instantiated prefab always above 1st prefab. I tried use SetAsLastSibling() but it still doesn't work. Any solution I can...
View Article'GameObject' does not contain a definition for 'position' and no accessible...
Im making a topdown shooter using Brackeys's tutorial, but I made the gun another object and I used GameObject to refer to it. How do I fix it? here's the code: using System.Collections; using...
View ArticleWhy does unity not recognize the variable type "Preset"?,Why does unity not...
I am trying to export my game to WebGL and after I change the platform to WebGL and "build and run" it, it says: Assets\Scripts\GameManager.cs(17,17): error CS0246: The type or namespace name 'Preset'...
View ArticleWhere to save the project?
I was working on a game yesterday and an error occurred while working in Unity. When I moved to unity, an enemy left me and I had to make him a foreign one. Where you can save your project so that you...
View Article41 errors while trying to build (Building on 64 bit),Build Player Error: 41...
Hello! I'm trying to build and run my game, but the console says: "UnityEditor.BuildPlayerWindow+BuildMethodException: 41 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer...
View ArticleUnity character looking and moving the wrong way
Hey all, I'm working on making a 3D platformer in Unity and following this tutorial to help me: https://www.youtube.com/playlist?list=PLiyfvmtjWC_V_H-VMGGAZi7n5E0gyhc37 I'm currently on part 9 and for...
View ArticleHow do I spawn a buff if there is no buff on top of it?
I have a Buff Spawner that spawns Buffs at 4 different locations. Here's what I want to do: 1. Spawn a random Buff/Debuff 2. Spawn another random Buff/Debuff every 5th wave 3. Spawn the Buff/Debuff if...
View ArticleReact Native Embedded and Play Asset Delivery Questions
Environment Unity 2021.3.15f Visual Studio 2022 Google is currently working on a game that incorporates React Native and Unity I would like to ask you a question that exceeds the limit of 150MB of...
View ArticleHow do I make my car clickable?
I'm trying to make a racing game and on my car select screen I want to make my cars clickable so that the player can choose a car but I've done so much research and can't find a good method of going...
View Articlewhat’s the best way to make text have glowing effect using rich text tags only
trying to find out, thanks.
View ArticleWhy am I getting the error, "NullReferenceException: Object reference not set...
I have been working on a project for a while and recently recieved this error when trying to use a script to edit the text that is the child of an object. The script is on the parent, and I used the...
View ArticleAudioImporter problem
1. **First error** NullReferenceException: Object reference not set to an instance of an object UnityEditor.IMGUI.Controls.TreeViewDragging.FinalizeDragPerformed (System.Boolean revertExpanded) (at...
View ArticleIssue on Canvas text
Hi. I'm trying to use Canvas Text object. In C# script I tried to use Gameobject.find(Canvas Text Control) to refer the text control. No error at compilation time, but at run-time I get the common...
View Articlestopallcoroutines of another script
How could I stop coroutine works on a script from another script?
View ArticleI downloaded the didimos 3D avatar package and my entire project turned pink
Hello , I am very new to Unity and am trying figure out why my entire project turned pink after downloading and importing the “Didimos” avatar package from the asset store. I saw that it changed the...
View Articleunity freeze on pressing play button
when i press play button unity editor get freeze after restart unity the problem got solved but after 2 3 run it started again and again plz help i am using unity 2021.3.14f1
View Articlehelp me please Compiler Error CS0029 with GameObject,how do i fix this...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SwingPoint : MonoBehaviour { private GameObject player; private PlayerMovement playerScript; // Start is...
View ArticleConstantly getting pop-up 'application.tickglobalcallbacks' whenever i do...
Attempting to do some greyboxing for a level but every time i do anything the tick global callback pop-up appears and loads for a number of seconds. I'm not sure what to do to fix this - i've deleted...
View ArticleBuild failed and get this Fatal error in Unity CIL Linker when I make Il2cpp...
Exception: Failed running C:\Program Files\Unity\Hub\Editor\2020.3.8f1\Editor\Data\il2cpp\build/deploy/netcoreapp3.1/UnityLinker.exe...
View ArticleAddressable Asset System Catalog Storage Location and Package Name Issues on...
"IOException: 권한 거부됨, UnauthorizedAccessException"이 발생하여 Addressables.CheckForCatalogUpdates() 및 Addressables.UpdateCatalogs() 실행 중입니다. 앱 패키지 이름에 .hash가 포함된 경우 카탈로그 파일을 저장하는 저장소가 외부 저장소로 변경됩니다. 예) 패키지...
View ArticleUnity Learn: Create With Code 2, Unit 5, Quiz 5 bug
In this Unit, the quiz (Quiz 5) has a bug where if you complete it and have completed everything else before the quiz, it will take you to the same page (to itself) again if you press "continue". If...
View Articlec# script attached to an empty game object
I have a script that's attached to an empty game object. This script is not referenced by any other objects in my project but it is executed when I play the game. How is this possible? I'm fairly new...
View Articlehow to sync shown movement between the players ?,how to sync the shown of...
Hi, i have a question. i am working now on my first multiplayer game with unity, using mirror. My problem is : each player can see on his screen the animation of the other players. But - each player...
View ArticleHow do I obtain a gameObject from a Prefab
In my game, I made an enemy spawner that needs a prefab. But for the rudimentary "pathfinding"(just less than player x then add to enemy x type) but it needs the player transform to do this. But when...
View ArticleUnityCache Failed to load 'Build/Game.data.br' from indexedDB cache due to...
I'm building Unity Game with Web3 Components like metamask connect. Things are working fine on locall. But when i hosted it on server i got this error on page load.> [UnityCache] Failed to load...
View ArticleCreating a pause menu for a fps game
Hi i created a fps game with a normal character controller and a canvas to have a dot in the middle of the screen i created a new canvas with a panel and in the panel buttons, the problem is when i...
View Article