|
|
846d79a8d7
|
ModelInfo: ModelType→EntityType(枚举) + Description;ImportModel 支持传参
|
2026-06-19 10:02:09 +08:00 |
|
|
|
d8f8ebd336
|
ModelManager.Update→UpdateModel(避免与 MonoBehaviour.Update 冲突)
|
2026-06-18 19:50:39 +08:00 |
|
|
|
225590ac19
|
补全所有模型的完整 CRUD 接口
- ModelService: +AddModel/UpdateModel
- IScenarioService: +UpdateScenario +GetScene +Get/DeleteControlZone
+Add/Update/Delete/GetScenarioDrones +Add/Update/Delete/GetDeploymentUnits
+GetCloudDispersal +GetRoutes/DeleteRoute +GetWaypoints/GetWaypointsByWave/DeleteWaypoint
- ScenarioManager 全面暴露新增接口
- 238 测试全过
|
2026-06-18 19:42:48 +08:00 |
|
|
|
a19dced505
|
fix: SqliteConnectionTracker — AssemblyReloadEvents.beforeAssemblyReload 安全关闭
- 静态追踪所有 SQLiteConnection,domain reload 前 Dispose 全部
- 替换所有 GC.Collect+WaitForPendingFinalizers 为 Tracker 模式
- DatabaseManager、ScenarioManager、中、SimulationRunner 等全部 Track/Untrack
|
2026-06-13 12:30:48 +08:00 |
|
|
|
5c23e92587
|
fix: OnDisable 加 GC.Collect+WaitForPendingFinalizers 防 SQLite 析构崩溃
- sqlite-net PreparedSqlLiteInsertCommand 析构器在 GC 线程跑 sqlite3_finalize
- Domain reload 时 SQLite native 可能已卸载 → 崩溃
- GC.Collect+WaitForPendingFinalizers 确保析构器在 native 还活着时完成
|
2026-06-13 12:24:09 +08:00 |
|
|
|
5667aef495
|
fix: OnDisable + Dispose 替代 OnDestroy + Close,修复 domain reload SQLite 崩溃
OnDisable 在 domain reload 前触发,Dispose() 清理 prepared statements 并调用 GC.SuppressFinalize,阻止 GC finalizer 线程崩溃
|
2026-06-13 09:42:10 +08:00 |
|
|
|
2bb8ba2e1e
|
fix: Manager OnDestroy 关闭 SQLite 连接,修复 domain reload 崩溃
- 所有 Manager 在 Awake 保存 _db 引用,OnDestroy 调用 Close()
- ScenarioManager/ModelManager/ReportManager/GroupManager/SimulationRunner 全部修复
- 崩溃原因:domain reload 时 GC finalizer 线程清理 prepared statements,DB 未关闭导致 sqlite3_finalize 竞态
|
2026-06-13 09:35:53 +08:00 |
|
|
|
845f8dcd1b
|
所有Manager Awake改成public + ManagerVerification直调Awake
|
2026-06-12 16:32:31 +08:00 |
|
|
|
1ce560c48a
|
Phase 6: 4个Manager + 全流程验证 + Unity项目结构
|
2026-06-11 17:41:47 +08:00 |
|