Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
-1 votes
1 answer
109 views

I'm working on a Unity project where I need to constantly monitor the main camera's perspective. By default, the white lines showing the camera's view frustum are only visible in the Scene window when ...
serhat aktas's user avatar
0 votes
1 answer
76 views

Unity: 2023.2.18f1 Selected Platform: Android Firebase SDK: 12.10.1 External Dependency Manager for Unity: 1.2.186 Facing CommandInvokationFailure: Gradle build failed. issue. I have tried all the ...
eagle's user avatar
  • 931
1 vote
1 answer
110 views

I have a handful of prefabs in my project's assets which I am frequently dragging into and out of the scene in order to test them sequentially after changing the code in their attached scripts. They ...
Nicole's user avatar
  • 45
0 votes
0 answers
26 views

I installed unity version control package from unity registry. But it looks something wrong. See tab title under Unity Version Control. It shows variable name not text assigned that. These problems ...
Jrog's user avatar
  • 1,527
1 vote
1 answer
210 views

I have a list of objects that I display in the editor using a CustomPropertyDrawer currently I store that list using a ReorderableList, for which I have overriden drawElementCallback and ...
Adam Wizard's user avatar
0 votes
0 answers
115 views

I'm developing a node-based editor tool in Unity with pure UIToolkit (no existing graph frameworks). The premise is that the graph needs to be scene-based, so it's a Monobehaviour, rather than a ...
Martin's user avatar
  • 67
0 votes
0 answers
35 views

Hello everyone I am trying to place the button in my AnimationData, which has a custom PropertyDrawer, so that later in the AnimatedObject object, which has a list of such AnimationData, it is ...
Kitecy's user avatar
  • 1
0 votes
1 answer
61 views

I'm having some problems with my code, and I'm not sure how to solve it, as I'm still new to programming. Any help or advice would be greatly appreciated using System.Collections; using System....
Edward Roach's user avatar
0 votes
2 answers
378 views

I've a weird issue in an Unity Editor script. I Created the code below as a minimal example to reproduce the issue, and the explanation of what's happening. I'm using Unity version 2023.2.9f1 Script ...
Eledwin's user avatar
  • 87
3 votes
1 answer
213 views

I recently upgraded my monitor, switching from 2K 144Hz to 4K 60Hz, and I didn’t expect much of a performance difference — and for most applications, there isn’t. However, my Unity Editor has gone ...
Alice's user avatar
  • 23
0 votes
0 answers
38 views

I am trying to serialise a list of a custom class in Unity's inspector. This class contains a enum type of PlayerOptionType. However, whenever I try to add a instance of this to the list in the ...
Istalri Skolir's user avatar
0 votes
1 answer
104 views

I want to do a dropdown menu that works similar to the tag system but for my sound names. However, whenever I have my custom properties in a container and I change one of them, every other property ...
Stefan Carpeliuc's user avatar
0 votes
1 answer
104 views

I am programming an editor window in Unity so I can make board games quickly. My issue revolves around the ScreenToWorldPoint() making the script think the previous tile is in a completely different ...
Matt Wier's user avatar
1 vote
1 answer
163 views

I've created a ScriptableObject class MySO that gets modified in its Awake() function. I also added EditorUtility.SetDirty(this); as its last command. The class has a List<someOtherClass> myList ...
Gabriel Balassa Turu's user avatar
0 votes
1 answer
2k views

I encountered the following error when installing URP into an existing project: error CS2006: Command-line syntax error: Missing '<text>' for '-define:' option I couldn't find any solutions ...
L LIU's user avatar
  • 11
0 votes
1 answer
113 views

I have this large ScriptableObject (+150MB) storing various data related to in-game characters. When selected, the Unity Editor slows down considerably, my first idea was to make a custom inspector ...
Mandark's user avatar
  • 828
3 votes
1 answer
41 views

I need to store a long list of "DataFrame" classes. The "DataFrame" has a lot of fields, so it stretches down a lot. I want to make a custom inspector for the DataFrame so that all ...
Aiden VMR's user avatar
1 vote
2 answers
111 views

I'm learning Unity Editor. After I had build my application to test on android device. Most of my folders and files in Assets were lost in Project tab. I can still see it in Explorer but Unity Editor ...
Trần Thanh Sơn's user avatar
0 votes
1 answer
194 views

How can I get Prefab Variant's "base" (Field named "Prefab" in picture) from Editor script? I'm on Unity 2022.3, but UnityEditor.PrefabUtility seems do not have corresponding ...
user-id-14900042's user avatar
0 votes
1 answer
914 views

In Unity I want to achieve the following in a UI/Canvas Scene: Header text - use 10% of the available screen height, so the font should size accordingly. In the remaining 90%, add two rows, each with ...
soleil's user avatar
  • 13.3k
1 vote
0 answers
37 views

I have a scriptable object that holds a list of 200 items. Before adding any sort of custom editor to the scriptable object, the inspector looks like this Now simply adding an empty custom editor to ...
Nick Hudson's user avatar
1 vote
0 answers
27 views

The Unity code creates a prefab of type PrefabAssetType.Model. I want to create a prefab of type "Model", but I always create a "Regular" type, a Model type, and a model type. It ...
Young Huang's user avatar
1 vote
0 answers
80 views

In a Unity project I'm using the NewGraph node editor and am using a Monobehaviour-based graph (derived from MonoGraphModel). Now when using the following combo of "Enter Playmode Settings" (...
Martin's user avatar
  • 67
0 votes
1 answer
120 views

Is it possible to remove default menu buttons like the Play Pause buttons from the Unity editor? Also, can I add custom dropdowns in addition to the default dropdowns like Layers and Layout? Check the ...
Sivabalan M's user avatar
1 vote
0 answers
286 views

I'm encountering the "Parent directory is not in asset database" error when using AssetDatabase.MoveAsset in a Unity Editor script. This happens even though I've implemented the following ...
Arjun Mehta's user avatar
0 votes
1 answer
295 views

I want to change my shading mode with custom hot key. Is there any kind of way to set your custom hot keys, in unity editor 2022.3f LTS? I have tried to find out the way. How, we can make our custom ...
Asif Nawaz's user avatar
1 vote
0 answers
454 views

I install Unity Hub 3.2.0 and Unity 2021.3.35f1. Then I tried to change external script editor to VS2019, but the unity option didn't show any external editors. So I added manually devenv.exe file ...
J kim's user avatar
  • 11
0 votes
1 answer
354 views

There is a Monobehaviour class which has a property planeSettings for an scriptable object. For the scriptable object and the monobehaviours class i created custom inspectors which utilize UIElements. ...
C4pt4inC4nn4bis's user avatar
0 votes
1 answer
494 views

I want make dropdown menu to choose image from given. The problem is that image doesn't show in dropdown, only in already chosen. So I can see image only after I choose it from dropdown. I need every ...
SAVELIQ's user avatar
1 vote
1 answer
557 views

I have a project that built just fine, then i had to reinstall unity and download the specific editor that I was using (21.3.4f1). Now my project will not build, or builds with corrupt (jittery) ...
MirjaKop's user avatar
0 votes
0 answers
96 views

I'm currently working with the Vuforia Engine in Unity and encountered a puzzling problem. I followed the basic getting started guide for testing purposes, and everything appears to work seamlessly ...
Bekzot's user avatar
  • 1
3 votes
8 answers
11k views

I just can't use Unity! Every time when I want to open my project I have an error and Unity reccomends me to open project in Safe Mode. When the project's opening is finished (doesn't matter if I open ...
Lanthanum's user avatar
0 votes
1 answer
302 views

TL;DR After upgrading from Google VR to Google Cardboard XR Plugin. Looking for documentation/advice on: How to use the Event Trigger component in the editor rather than code How to limit the ...
lz7cjc's user avatar
  • 51
-1 votes
1 answer
89 views

I'm trying to code an Editor-only window similar to Animation or Timeline. At present, stucking in the slider thumb, which usually looks like a vertical line across the tracks. Two ideas to implement ...
coldbreath's user avatar
0 votes
0 answers
82 views

After I build my app into .apk file and launched in my android phone, it only show the starting sequence of the video without the video playing and no sound. It works well in Unity Editor but not in ...
justvv's user avatar
  • 9
-1 votes
1 answer
166 views

I'm developing a class that can draw the interface both in the game and in the editor. Now I manually specify which mode to work. Because some functions are not available in different modes class ...
Onni's user avatar
  • 11
0 votes
0 answers
99 views

help please, my code in Unity Editor is working perfectly fine, but in build everything is not working properly. Here are the errors I get in the built version of the game: > NullReferenceException:...
Lok's user avatar
  • 1
0 votes
2 answers
300 views

I have a very unique bug when I dynamically switch between menus by setting them to active/inactive with .SetActive(). The bug is that one and only one of the menus is not recursively setting its ...
Gavin Ray's user avatar
  • 189
0 votes
1 answer
441 views

I am working on my personal toy project and custom editor is causing me some trouble. I realized that all variables must be serializable to store values even after the Unity client is terminated. ...
It's a Doge's user avatar
0 votes
0 answers
341 views

I'm planning to write an editor window. When I open this editor window, I want it to start from the last mouse position and have a transparent background. How can I achieve this? Based on my research, ...
Akuu's user avatar
  • 9
0 votes
1 answer
228 views

I'm downloading Asset bundles built for Android platform from server. These Asset bundles contain prefabs, 3D model files and textures of the model. I'm then using the Asset bundle to spawn the prefab ...
Arun P's user avatar
  • 1
0 votes
2 answers
611 views

I have a script in which I have declared an array of sprites. I want to represent it in a nice way in the editor and don't want to make it noticeable that it's an array. This is what my script looks ...
Michał Lorenc's user avatar
0 votes
1 answer
116 views

As you can see in the editor, I can see and control the player character, but in the build I can only move the player character, but I can't see it! also some other GameObjects materials doesn't ...
Amine Abourifa's user avatar
0 votes
0 answers
128 views

If I change the priority of a menuitem, it won’t take effect immediately.(The menuitem will be in the same order, ignore the change.) I have to restart the editor to apply the priority change. What ...
AdmiralOrange's user avatar
0 votes
1 answer
920 views

I would want to make a button like this. Is there a way or is it just not possible? I looked over the documentation but couldn't find what I was looking for. Just buttons for the inspector, menu items,...
Adnan Faize's user avatar
0 votes
0 answers
33 views

I want the MenuItem to be transparent But it completely disappears from the list of items. The script I used: using UnityEditor; public class Example { static bool showMenu = false; [...
Meysam Ghorbani's user avatar
0 votes
1 answer
1k views

I'm trying to create a checkerboard alternating tile in Unity, but creating it by hand is time-consuming and cumbersome. I tried creating a rule tile to achieve the checkered effect, but it hasn't ...
Phillip Zoghbi's user avatar
1 vote
0 answers
100 views

i know this might be a lot to ask, but unfortunately i can not get the following UI working in Unity. I experimented a lot with Content Size Fitter, Vertical and Horizontal Layout Groups and Layout ...
AndreasSt's user avatar
  • 183
1 vote
0 answers
217 views

I am currently working on a room editor. The room is a base prefab with scripts. It has a child transform with tiles, which is empty. In my editor, I instantiate a base prefab room, and design ...
Ava's user avatar
  • 522
0 votes
0 answers
188 views

I must change the list background texture, that list are located in a node I use the asset xNode to do that. That is the code of NodeEditor, is the class I use to edit the node layout. using ...
Ary Guilherme Pires Caramez's user avatar

1
2 3 4 5
7