Slow script recompile time
My scripts compile at least 40+ seconds when I make some changes. Which is ridiculous. Do you have any idea what may cause it? - Both Unity and Project are on same **SSD drive** - Using only C# - Have...
View ArticleRender with GL lines under Sprites
I googled this problem, nothing I may use so far. I want to render lines inside **OnPostRender()** with **GL.Vertex3()** etc. commands. However, all **lines render Over every sprite**. - tried to...
View Article.meta files not updating - SVN problem
I have a problem where one of the team members **changes prefab`s** sprite reference in it`s script, then saves the scene, saves the project. We look at **.prefab file and it updates properly**....
View ArticleHorrible lag when selection objects in Editor hierarchy
I have around 2000 objects in scene. Each 500 is parented under one parent, so 4 parents and 500 objects in hierarchy. *(I`m not talking about play mode)* In editor scene, when i select with mouse one...
View ArticleHow to free meshes from memory fast?
Hi, I work with chunks created from scratch in my game. - Every time new chunk is created, Meshes are added to memory. - Every time old chunk is removed, Meshes are not removed from memory. This is old...
View ArticleNew Thread sometimes doesnt start
Has anyone experience issue where when you want to run some code in other threads, the threads won run or wont get created when you start the scene (Hit Play in Unity)? I am creating new Thread to...
View ArticlePrevent raycast to OnMouseOver() or OnMouseEnter() when mouse over UI
As title says, it there anyway how to prevent Unity firing OnMouseOver() or OnMouseEnter() functions when mouse is over 4.6 UI objects? Note, this cannot be stopped with...
View ArticleStrange artifacts on Vertex Color Shader
I am using Vertex Color shader for coloring my generated mesh. I have a problem, when I want to reduce alpha of mesh color, e.g. for water, I get strange artifacts on the mesh. **Here is shot without...
View ArticleBest way to handle separate collisions for mouse on all objects?
Hi, this is more of a design question than regular question. I have 3D game, camera is diablo style, top-down. Now, lets say item drops, its small amulet or wood or ring. The player will have problem...
View ArticleAsset Bundle big size
I am packing one Scriptable Object instance into asset bundle. On my disk, the scriptable object has 104kb. However, when I pack it into Asset Bundle, the final bundle has size of 4.5MB, why? I am sure...
View ArticleuNet - need method that is called before OnStartClient()
Hi, I need to call method to generate level before any **OnStartClient()** is called for on players (even Host). But not sure why **OnStartSever()** is not called first, but host`s **OnStartClient()**...
View Article