Unity + Facebook SDK = Login cancelled by Player

Just posting because I’ve spent a couple hours working around this “Login cancelled by Player” error and just got this test / debug version working … I don’t know if the steps bellow will help in release versions. My steps: – Install latest OpenSSL and JDK, restart windows. (more here on my last post) – Delete …

Unity + Facebook SDK = OpenSSL not found error

Got stuck with this “OpenSSL not found” error today on Unity3D and after some digging I’ve found that the error was caused by my “Path” Environment Variable (in my case on Windows 8.1). I already have OpenSSL installed on “C:\OpenSSL”. I’ve downloaded the 64bit version Win64 OpenSSL v1.0.1h from here: http://slproweb.com/products/Win32OpenSSL.html – (Consider making a donation …

NGUI 3.6.2 – Pixelated rotated textures – SOLVED

I’m learning how to use NGUI for my Unity 4.5 projects and right now I’m developing a card game at Mukutu. I came to this problem with my cards textures when using the UI2DSprite, which rely on the new Unity Sprite Packer and not on the NGUI Atlas maker. When they are rotated they have this …

Gamification – Rewards can … demotivate

Gamification: Rewards can … demotivate Overjustification Effect Researchers found that extrinsic motivation can step in front of intrinsic motivation and that can be a problem to engagement in gamification projects because people will start to do things focusing on the reward itself and not because they just enjoy to do it (intrinsic motivators). The drawing experiment: A group of …

Performance tips for Unity3D

When working with mobile platforms the performance can be a nightmare, especially when you have to maintain support for older crap devices. With some good practices during the development, you can avoid some problems in the future. If you have a framework or a common / shared library, then making it performant is essential but sometimes you …

Scaling objects can increase Draw Calls (Less Batching)

You’ll have more Draw Calls if your objects are scaled (Something like Vector3 (1.0001f, 1.0001f, 1.0001f)). This can be a big problem if you are instantiating the same object a lot and need to keep your Draw Calls low. When you instantiate the same object and your Draw Calls increase you can check the scale of …

Unity Physics.SphereCast and Physics.SphereCastAll – A wider Raycast

Need a ‘wider’ Raycast? Try SphereCast 🙂 I just discovered the Physics.SphereCast and Physics.SphereCastAll. With those you can have the same results that you had with Physics.Raycast and Physics.RaycastAll but now you can set a radius for it! Isn’t that great? *Just a quick, but important note: when using Physics.SphereCast you can’t detect collisions against …