Search Issue Tracker

Fixed in 2019.3

Planned for 2017.4

Fixed in 2018.4

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2018.3.8f1

Issue ID

1135495

Regression

No

CollectUsedSceneObjects crash after loading a Scene with modified Prefabs

Scene Management

-

Steps to reproduce:
1. Open the project supplied in the edit
2. Open Scene ("MissionProtoype")

Reproduced in: 2017.4.24f1, 2018.3.10f1, 2019.1.0a5
Not reproduced in: 2019.1.0a6, 2019.2.0a9

Note:
The issue seems to be fixed, but I can't find a duplicate, so I'm making this one for backporting

In the newer version, Unity throws this error:
ArgumentNullException: Value cannot be null.
Parameter name: instance
Autofac.RegistrationExtensions.RegisterInstance[T] (Autofac.ContainerBuilder builder, T instance) (at <2842fb47a65a4846aac33a686c0a8e21>:0)
WorldTree.Game.Engine.Service.Game.GameMainService.<InitContainer>b__44_0 (Autofac.ContainerBuilder builder) (at Assets/Code/GameEngine/Service/Game/GameMainService.cs:133)
WorldTree.Game.Engine.Infrastructure.IocContainer.InitContainer (System.Action`1[T] additionalRegistrations) (at Assets/Code/GameEngine/Infrastructure/IocContainer.cs:33)
WorldTree.Game.Engine.Service.Game.GameMainService.InitContainer () (at Assets/Code/GameEngine/Service/Game/GameMainService.cs:129)
WorldTree.Game.Engine.Controllers.UI.Buildings.UiBase.Awake () (at Assets/Code/GameEngine/Controllers/UI/UiBase.cs:18)
WorldTree.Game.Engine.Controllers.Spawners.BlueprintRandomSpawner`3[TEntity,TBlueprintLink,TBlueprint].Awake () (at Assets/Code/GameEngine/Controllers/Spawners/BlueprintRandomSpawner.cs:122)

  1. Response avatar

    Resolution Note (fix version 2019.3):

    Fixed In: 2018.4.2f1 , 2019.1.0a6, 2019.3.0a8

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.