Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示这个问题是啥原因 #2

Closed
ct1676 opened this issue Feb 2, 2020 · 1 comment
Closed

提示这个问题是啥原因 #2

ct1676 opened this issue Feb 2, 2020 · 1 comment

Comments

@ct1676
Copy link

ct1676 commented Feb 2, 2020

Recursive Serialization is not supported. You can't dereference a PPtr while loading. (Constructors of C# classes may not load objects either. See stacktrace.)
UnityEngine.Resources:Load(String)
Lockstep.Game.GameResourceService:_LoadPrefab(Int32) (at Assets/Scripts/Logic/Service/Services/GameResourceService.cs:24)
Lockstep.Game.GameResourceService:LoadPrefab(Int32) (at Assets/Scripts/Logic/Service/Services/GameResourceService.cs:14)
Lockstep.Game.PhysicSystem:RegisterEntity(Int32, Entity) (at Assets/Scripts/Logic/System/PhysicSystem.cs:136)
Lockstep.Game.GameStateService:CreateEntity(Int32, LVector3) (at Assets/Scripts/Logic/Service/Services/GameStateService.cs:95)
Lockstep.Game.World:StartGame(Msg_G2C_GameStartInfo, Int32) (at Assets/Scripts/Logic/Framework/Simulator/World.cs:79)
Lockstep.Game.SimulatorService:StartSimulate() (at Assets/Scripts/Logic/Framework/SimulatorService.cs:133)
Lockstep.Game.SimulatorService:OnEvent_LevelLoadDone(Object) (at Assets/Scripts/Logic/Framework/SimulatorService.cs:534)
Lockstep.EventHelper:Trigger(EEvent, Object) (at Assets/Scripts/Logic/Framework/Event/EventHelper.cs:78)
Lockstep.Game.Launcher:_DoStart() (at Assets/Scripts/Logic/Framework/Launcher.cs:128)
Lockstep.Game.Launcher:DoStart() (at Assets/Scripts/Logic/Framework/Launcher.cs:94)
MainScript:Start() (at Assets/Scripts/View/LogicView/Framework/MainScript.cs:45)

@ct1676
Copy link
Author

ct1676 commented Feb 2, 2020

好吧 我没加场景进去。。。

@ct1676 ct1676 closed this as completed Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant