Quantcast
Browsing all 103 articles
Browse latest View live

Breaking connection between two fbx game object

Hi, I have a fbx file of a soccer player with animations and materials. I have created two game object with it (two soccer attackers), and whenever I change one of them's materials, the other changes...

View Article


Why did TFS Source Control break my prefabs/filesystem?

Facts: - I'm working on a multiplayer game in Unity and C# - As a requirement I need TFS Express for source control and ALM services. - The TFS server is locally managed. - I have a single test scene...

View Article


Link to prefab breaks when recreating it

I have an editor extension that uses PrefabUtility.CreatePrefab() to create some prefabs. The problem is that I want to update a prefab without breaking links to that may exist in different scenes. Is...

View Article

Prefab Path Issues

I'm currently having an issue in my project where some of my objects appear to lose their prefab links when I change the absolute path of the project. As in, my project was previously at...

View Article

Break Prefab Instance does not work in Unity 5.3.2.f1

Hello, I'm trying to create 2 similar prefabs, let's say a blue block and a red block. I have created the red block, added some scrips and a shader with red color. Now I need a new block just like this...

View Article


Instances of the same prefab behaving differently

I am currently working on a dungeon game, in which the main enemies are skeletons. I have created a prefab with all the colliders, animator, script, etc. on it, but now it is not really working. By...

View Article

Making random map, how to do this well?

Hello, I'm actually making a "Isaac-like". I made a script who load all the map in my prefabs and then instantiate them with a procedural generation. I think this part is ok. But my problem come from...

View Article

How can I reference a prefab from within itself?

I have a GameObject with a bunch of children that is instantiated from a prefab. One of the children of that GameObject contains a reference to the prefab from which the parent was instantiated... at...

View Article


Assigning public game objects to a script associated with a certain game...

In a hierarchy, I have assigned pause Button and instructional keywords to public GameObject variables ins_kws and pauseBtn in a script associated with a panel Chp9_Screen1. Now the problem is that...

View Article


Suggestions for Prefabs which refer to other Prefabs

I understand that Unity3D does not support nested prefabs. While it confuses me as to why such support would not inherently be supported, I am willing to let that go and instead focus on how to achieve...

View Article

PrefabUtility.InstantiatePrefab not preserving prefab connection

This simple Editor tool to instantiate Prefabs is doing so, but the instantiated objects are missing their connection to the prefab (aka not blue, updating prefab doesn't show changes in copies)....

View Article

Unity Editor not finding assets after updating to macOS 10.13?

Yesterday, the developer beta for MacOS High Sierra was released, and after doing this update, I am no longer able to view any of my Unity assets, and all of the prefab connections/referenced scripts...

View Article

Object reference not set to an instance of an object (Scripts calling objects...

Right, I feel like despite the title of this question, it's a bit more in depth. Basically I have a pause menu which references various objects in the scene. It contains buttons which allow the player...

View Article


Setting the m_PrefabInternal property using the SeriailizedProperty System

Hello! I have a weird question regarding the Editor and I hope you can help me! I am loading GameObjects from a Database into the UnityEditor. I am storing and loading properties by using the...

View Article

Unity Programmatically Link Prefab

Let's say I have 5 different enemy prefabs. I won't know until runtime which prefab I want to be spawning. I know that normally I can make a `public GameObject` variable that I can link to a script....

View Article


prefab: can you exclude a variable from beign tracked?

**Can I exclude the scale of a prefab instance from being tracked?** Unity already allows prefab instances to have independent rotation and position, can I exclude the scale likewise? **An example:**...

View Article

How to make prefab reference in another prefab

I want to create a game GUI prefab to use it in another levels. Simultaneously, GUI prefab contains buttons, that are prefab instances too. When I save GUI prefab and then change button prefab, nothing...

View Article


Model as Prefab - lots of this prefab causing problems

Hi there! I have a problem. I have made a Keypad/Keylock Model with GUI in WorldSpace and Script on it. I have made a prefab with this Gameobject/Model. If i use one of this prefab in the scene...

View Article

Can I stop the prefab connection of a gameobject during play?

Ok I'm making a FPS and I'm trying to make a script that will allow the player to pick up weapons off the floor. I do this by instantiating the weapon in front of the player and parenting the weapon to...

View Article

Pro, Free, SVN and Prefab Connection Problem

I'm experiencing a problem with my prefabs losing connections and becoming regular gameObjects while using Update within SVN on one of my machines and I'm hoping someone can shed some light. Here's my...

View Article
Browsing all 103 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>