Browsing articles in "Unity3d"
Oct
20
2017

Android Build Error: Error: String types not allowed (at ‘configChanges’..

Tried to build simple Cardboard + GVR scene with Unity 2017.3b4, but kept getting this error: CommandInvokationFailure: Failed to re-package resources. ***\android-sdk\build-tools\25.0.2\aapt.exe package –auto-add-overlay -v -f -m -J “gen” -M “AndroidManifest.xml” -S “res” -I “***android-sdk\platforms\android-23\android.jar” -F bin/resources.ap_ –extra-packages com.google.vr.cardboard:com.unity3d.unitygvr -S “***Game\Temp\StagingArea\android-libraries\gvr\res” -S “***Game\Temp\StagingArea\android-libraries\unitygvr\res” stderr[ AndroidManifest.xml:5: […]

Sep
23
2017

Drawing 2D lines and Adding Collider to it

Hi awesome reader! In our past tutorial “How to Draw Line” we discussed about drawing a line in the game by mouse interaction. But sometimes we need to draw a line that collides with our game objects in 2D mode. So we need to add […]

Aug
28
2017

Unity Launcher (handle different projects & unity versions easily)

It was almost midnight, I wanted to open certain project with a specific unity version, just to check something before going to sleep.. but clicked the wrong icon (not the first time, got plenty of them on the desktop), waited that long unity boot-up time […]

Aug
27
2017

Drawing Lines

Hi dear reader! In this tutorial we want to learn how to draw a line in unity by user mouse movement and interaction. First we need a component that would be able to render simple lines. Our choice is ​Line Renderer​, this component is able […]

Jul
13
2017

Browser plugin: Add Copy-button to unity scripting docs

Using GreaseMonkey (Firefox) the script below will add Copy-to-clipboard-button into scripts at unity documentation website. – Supports multiple scripts per page – New: Adds copy button to forum code snippets also *Best used with this unity editor plugin (so its 1 click to copy from […]

Jul
12
2017

Editor Plugin: Paste Script To File

Small editor script to easily paste full script into new file in project. (instead of having to manually create new script file, opening it, pasting contents to it, renaming file etc..) Usage – Download CopyPasteHelper.cs script from https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Editor/Tools/CopyPasteHelper.cs – Place it under Editor/ folder in […]

May
21
2017

iOS App crashes only if downloaded from Appstore or TestFlight

Had annoying issue with one ios app, it worked perfectly when build locally from xcode to device, but after uploading to AppStore, that version crashes in all devices. Solution was rather simple: Solution Disable [ ] Include bitcode option when uploading your app archive to […]

May
20
2017

Terrain AlphaMap Texture FilterMode (sharp texture blending)

You can use shader to do sharp blending on terrain textures like this old version custom terrain sharp blending shader, but can also set alphamap texture filtermode instead! (no custom shaders needed) With custom editor script, you can do this: Example project with the editor […]

May
19
2017

Install & Run Unity in Linux Terminal

see latest releases here: https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ INSTALL – Login to ssh terminal (i’m using Ubuntu-14.04.1-LTS-64bit) – download package (i took 5.5.3): wget http://beta.unity3d.com/download/a2454d41e248/unity-editor_amd64-5.5.3xf1Linux.deb – install: sudo dpkg -i unity-editor_amd64-5.5.3xf1Linux.deb – missing dependencies error..google, help! – try: sudo apt-get -f install – try: sudo apt-get update – […]

Apr
21
2017

Using SharpNav with Unity

Noticed this SharpNav repository (Advanced Pathfinding for C#) at https://github.com/Robmaister/SharpNav Since new unity versions support .NET 4.6, this should work in unity too, the sample script below runs, but not sure how to access the navmesh or navigation features.. Instructions: – Download SharpNav https://github.com/Robmaister/SharpNav – […]

Pages:«1...891011121314...49»

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.