Search Issue Tracker

Fixed in 2.2.8-preview.6

Votes

0

Found in [Package]

2.2.7

Issue ID

1077395

Regression

No

[Cinemachine, Improved Prefabs] Cinemachine Virtual Camera is added to main scene instead of Prefab mode scene

Package: Cinemachine

-

1. Import Cinemachine package
2. Add GameObject and make a prefab out of it
3. Double-click on it to open in Prefab mode
4. Click on "Cinemachine -> Create Virtual Camera" menu item
==>
Virtual camera is added to main scene

Expected: Virtual camera becomes a part of a prefab asset

Note from devs:
This needs to be fixed by the Cinemachine team:
In CinemachineMenu.cs they need to replace:
GameObject go = new GameObject(..)
with
GameObject go = ObjectFactory.CreateGameObject(..)
or create it with new GameObject() and add:
StageUtility.PlaceGameObjectInCurrentStage(..)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.