# same objects different behaviours?

**URL:** https://discussions.unity.com/t/same-objects-different-behaviours/568844
**Category:** Asset & Content Management
**Created:** [February 24, 2015, 6:21pm UTC](https://discussions.unity.com/t/same-objects-different-behaviours/568844 "2015-02-24T18:21:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![paskal007r](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/paskal007r/32/191006_2.png) [@paskal007r](https://discussions.unity.com/u/paskal007r)
#### Post date: [February 24, 2015, 6:21pm UTC](https://discussions.unity.com/t/same-objects-different-behaviours/568844/1 "2015-02-24T18:21:15Z")

</div>

I’ve this test scene in which I’ve created several test cases of my game.  
Each test-case is made with a container-game object which has as children several game objects with prefabs and scripts used in the game.  
Today I had to make a new one which is a variation of one I already had.  
I selected the old one, duplicated it (tried both with ctrl+c/v and with ctrl+d), then disabled the old copy and hit “play” to check that it behaved the same way it should.  
It didn’t.

I got nullreferences in a script, I don’t know why.

The question is: Is there anything that doesn’t get copied properly when you duplicate a gameobject inside unity? Are there any references that need to be updated?

---

<div class="post-metadata">

### Author: ![paskal007r](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/paskal007r/32/191006_2.png) [@paskal007r](https://discussions.unity.com/u/paskal007r)
#### Post date: [February 24, 2015, 6:23pm UTC](https://discussions.unity.com/t/same-objects-different-behaviours/568844/2 "2015-02-24T18:23:49Z")

</div>

update: if I hit play with enable=false and then I enable the copied gameobject manually, everything works fine.  
What  
The  
Fuck  
?
