Skip to main content

Questions tagged [unity-game-engine]

Unity is a cross-platform game engine by Unity Technologies. Questions should be about programming with the game engine and not usage of the graphical interface. Questions about the usage of the graphics interface are off topic.

unity-game-engine
0 votes
1 answer
11 views

MRTK2 Interactable I Which Receiver should I use?

So I am trying to create my own button in unity with MRTK2 for the Hololens2 but my problem is, that I do not know which receiver I should use in the interactable component. Usually I use ...
0 votes
2 answers
491 views

Unity UI buttons are not being highlighted when the cursor hovers over them on the Quest 2

So I'm having an issue where Unity UI buttons are not being highlighted nor animated when the raycast is over them. It works fine in the Unity editor, but not when I build the apk to the quest 2. The ...
0 votes
3 answers
860 views

Unity performance drain of non-visible UI

I've got a game with lots of menus. The menus have their own scripts which I don't neccessarily want to stop, just because the user can't see the menu. This is why I currently just translate the ...
0 votes
0 answers
7 views

Unity Editor will consistently freeze every 5-8 seconds for up to 5 seconds

I've been working on a project on my laptop for a few weeks now and occasionally (seemingly randomly) I will launch Unity and the Editor will undergo this strange pattern of consistent freezes. It ...
10 votes
13 answers
22k views

Xcode version 15.0 - Command PhaseScriptExecution failed with a nonzero exit code

I downloaded Xcode 15 and installed the iOS 17 updates. When I try to build my Unity game on Xcode now, I get this error: Command PhaseScriptExecution failed with a nonzero exit code Any idea how to ...
0 votes
0 answers
17 views

Unavailable invalid Firebase Auth Quest 2 [closed]

I'm having a problem launching Firebase on the Oculus Quest 2. When starting the app on the Quest2, the following firebase auth message appears: "unavailable invalid". The app works on ...
0 votes
1 answer
13 views

Working on a 3D audio visualizer project (Unity) and I can't convert Vec3 to Float, what am I doing wrong?

Noob here... I am working with a c# script in Unity which was originally written to scale an object on 2 separate axes (X/Z) using 2 separate variables (based on audio input). The change I am trying ...
0 votes
0 answers
10 views

Cannot access 'com.unity3d.player.IUnityPlayerLifecycleEvents'

I am trying to export an Android project from Unity to use XR in an Android application. When I copy the project over from Unity, I am unable to reference com.unity3d.player....
8 votes
3 answers
19k views

Unable to parse Build/build.framework.js.br

We have uploaded unity application to hostinger. When we launch index.html from app - getting error: Unable to parse Build/build.framework.js.br! This can happen if build compression was enabled but ...
0 votes
1 answer
602 views

HTTP Response Header "Content-Type" configured incorrectly Unity WebGL

How to solve. I created map in Unity and built it for WebGL. When I put the map on browser the warning message below appeared. : https://i.sstatic.net/tLOBF.png
0 votes
1 answer
28 views

Area of damage, where an explosion happens and deals damage to all enemies exactly once with Physics2d.OverlapCircleAll(...), but doesnt work

As in the title, I am trying to use overlapcircleall to deal damage to all enemies exactly once, but sometimes works correctly, but sometimes the damage is applied multiple times to the same enemy, ...
0 votes
1 answer
21 views

unity accessing child global position from another child, returns local

Hi, I'm trying to instantiate bullets from weapon script. I have empty object (weapon child) that is a bullet spawn point, and weapon has it's link. Everything works perfect, except transform.position ...
0 votes
1 answer
32 views

Zenject's LinqExtensions.cs failing in WebGL build

I have a game made in Unity 2021.1.26f1 which relies on Zenject. It runs great in the editor and in a Windows build. When I build for WebGL, however, I receive the following error: System.Linq....
0 votes
2 answers
36 views

Can I stop Unity remembering data that has been erased from PNGs?

I have been working on a texture for an avatar to put in VRChat using Blender and Krita.The texture looks completely fine when in Blender but when I import the PNGs to Unity, issues occur. The main ...
0 votes
1 answer
30 views

Calculating angles and comparing them to apply logic

I'm trying to make a grappling hook style game in Unity. When the rope collides with an object, I move the anchor point to that position and save a List<Vector2> of positions. I'm at the point ...

15 30 50 per page
1
2 3 4 5
5131