Skip to content

Unity, Animations, Visual Graphs - #1

Draft
Smer4k wants to merge 15 commits into
OtherObjectsfrom
New-Unity&Actions
Draft

Unity, Animations, Visual Graphs#1
Smer4k wants to merge 15 commits into
OtherObjectsfrom
New-Unity&Actions

Conversation

@Smer4k

@Smer4k Smer4k commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Unity Upgrade, Manual Animation Serialization, Visual Scripting for Schematics

Changes

1. Unity Version Upgrade
The project has been migrated to a newer version of Unity.

2. Manual Serialization of Animations and Animator
Due to the version mismatch between the game's Unity build and the editor, custom (manual) serialization has been implemented for animations and the Animator, replacing the default serialization. As a side benefit, this also enables animating object parameters that previously couldn't be animated — for example, block color and other properties.

3. Visual Scripting for Schematics
Added a basic implementation of node-based visual scripting for working with schematics.

4. ObjectId and ParentId Type Change
ObjectId and ParentId have been changed to long, due to limitations introduced by the new Unity version.


⚠️ Important Notes

  • Given the scope of these changes, bugs are possible — both in the new functionality and in related systems. Additional testing is recommended.
  • Due to the Unity upgrade and manual animation serialization, some plugins may break or become incompatible. Please verify third-party plugin compatibility before relying on them.

Checklist

  • Tested animation serialization/deserialization on existing saves
  • Verified compatibility with key plugins
  • Tested schematic behavior with the new visual scripting system
  • Regression tested core gameplay
🇷🇺 Русская версия / Russian version (click to expand)

Обновление Unity, ручная сериализация анимаций, визуальное программирование для схематик

Изменения

1. Обновление версии Unity
Проект переведён на более новую версию Unity.

2. Ручная сериализация анимаций и Animator
Из-за расхождения версий Unity в игре и в редакторе реализована ручная (кастомная) сериализация анимаций и аниматора вместо стандартной. Дополнительный плюс — теперь можно анимировать параметры объектов, которые раньше были недоступны для анимации, например цвет блоков и другие свойства.

3. Визуальное программирование для схематик
Добавлена базовая реализация node-based визуального программирования для работы со схематиками.

4. Изменение типов ObjectId и ParentId
ObjectId и ParentId переведены на long — это связано с ограничениями новой версии Unity.


⚠️ Важно

  • В связи с объёмом изменений возможны баги — как в новой функциональности, так и в смежных системах. Рекомендуется дополнительное тестирование.
  • Из-за перехода на новую версию Unity и ручной сериализации анимаций некоторые плагины могут сломаться или оказаться несовместимыми. Перед использованием сторонних плагинов рекомендуется проверить их работоспособность.

Чек-лист

  • Протестирована сериализация/десериализация анимаций на существующих сохранениях
  • Проверена совместимость с ключевыми плагинами
  • Проверена работа схематик с новым визуальным программированием
  • Регрессионное тестирование основного геймплея

Smer4k added 15 commits July 17, 2026 02:31
Introduces conditional compilation to support both legacy int instance IDs and Unity 6.5+ ulong EntityIds across schematic serialization, action target rebinding, culling zones, and decompilation. It also wraps GraphToolkit visual scripting editor classes in UNITY_6000_5_OR_NEWER && UNITY_EDITOR to avoid runtime/build issues on unsupported targets. Includes small cleanup/fixes like removing duplicate RequiredUniqName overrides and handling legacy LightType.Area values.
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

Successfully merging this pull request may close these issues.

1 participant