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
31,455 questions with no upvoted or accepted answers
99 votes
1 answer
6k views

Marching Cubes - generating holes in mesh

I'm working on a Marching Cubes implementation in Unity. My code is based on Paul Bourke's code with a lot of modifications. I'm checking if a block at a position is null, and if it is, a debug ...
Statey's user avatar
  • 1,101
26 votes
0 answers
1k views

Unity Camera Patch

I've been struggling to get the camera patch sample to work in unity. I finally succeeded to make it work in the editor but for the life of me can't make it work on my samsung galaxy s3(android). ...
Abhay Shankar's user avatar
20 votes
1 answer
751 views

Unity game campaign installs on Android not tracked in Facebook Analytics for Apps

I'm observing a large difference in tracking campaign installations between Android and iOS. Analytics for Apps show about 1000 installs on iOS and just 5 on Android (which correlates to the number of ...
adriankago's user avatar
16 votes
1 answer
5k views

Unity3D: How to show only the intersection/cross-section between two meshes at runtime?

The Problem Hi, I'm basically trying to do the same thing as described here: Unity Intersections Mask With the caveat that the plane isn't exactly a plane but a (very large relative to the arbitrary ...
Chae Ho Shin's user avatar
16 votes
0 answers
4k views

Unity 3D HDRP - Making a hole in a gameobject by shader using stencil

Unity version 2019.1.2f1 HDRP project. I am trying to make a hole in a finished gameobject which has a material and shader don't want to interfere with, the point being this should work with any ...
Alx's user avatar
  • 651
15 votes
3 answers
15k views

Unity Android APK crashing on startup

OK, so since I last successfully built, all I have done is tried adding Google Play Services to my game, from here. I imported the unity package, and setup the google play games for android in the ...
pingu2k4's user avatar
  • 1,020
12 votes
1 answer
5k views

Low performance when execute eglSwapBuffer and eglMakeCurrent

I'm developing an Android Unity Plugin that allows user to record his/her gameplay Overview of my solution: Using OpenGl FrameBufferObject (FBO) to make Unity render offscreen to this FBO Get the ...
knighthedspi's user avatar
12 votes
2 answers
10k views

Error occurs in jenkins build of unity

Machine:Mac UnityVer:4.6.2 error of the following will appear when you have made a jenkins build of unity. ----- Total AssetImport time: 6.818127s, AssetImport time: 6.808909s, Asset hashing: 0....
s0hno's user avatar
  • 530
11 votes
1 answer
435 views

Google App Invites Unity3D Plugin Json File Location

I am trying to integrate Google Invites in Unity 3D Android, there is no official plugin for this but I can create one. The problem is I am not sure where to place the json file in Unity Project. In ...
Jawad Amjad's user avatar
  • 2,552
11 votes
0 answers
4k views

Video capture on AR (Vuforia) with unity in Android platform

I'm trying to added a video capture function to an AR app. Basically recording what's happening on the screen, and save it as video (allowing user to share it). The AR APP is written with the Vuforia-...
user2542563's user avatar
10 votes
0 answers
2k views

Android SurfaceView - timeRecords is at its maximum size[64]

I am developing a 2D game for mobile using Unity. I am getting the following error on devices running Android 12 only. The project has target API 31. Previous Android versions are not getting this ...
Sakelarov's user avatar
  • 101
10 votes
1 answer
2k views

Using Unity as a subview is giving me a black screen

I'm using Unity with Android and it works when the view is in full screen, however when I make it into a subview, the screen doesn't display anything. It's working as full screen: Intent intent = ...
DIRTY DAVE's user avatar
  • 2,641
10 votes
0 answers
576 views

Restricting access to only allowed namespaces for code generated at runtime CSharpCodeProvider

I'm using this guide to create a scripting platform inside my program. I'd like to sandbox what they are allowed to do and what not. I have a few namespaces that I'd like to only allow the code from ...
user6516781's user avatar
10 votes
0 answers
816 views

Chroma Shader not working properly on IOS

Update: this was fixed in Unity 5.3 I wrote a Chroma Shader for Sprites. Its based on Unity's buildin shader Sprites-Diffuse Shader which you can download here I added a texture to map the second ...
Marius Junak's user avatar
  • 1,203
10 votes
1 answer
2k views

Calling Material.setPass with custom shader breaks GL - Unity

Here is my shader, which replaces one color with another: Shader "Custom/SwapColors" { Properties { _MainTex("Texture",2D)="white"{} swap_from("Swap From",COLOR)=(1,1,1,1) ...
user2136963's user avatar
  • 2,596

15 30 50 per page
1
2 3 4 5
2097