Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.0.8

Issue ID

BEHAVB-285

Regression

No

Crash on SerializableManagedRefBackupGenerator::ExtractBackupFromInstance when replacing Behavior package with Muse Behavior

Package: Unity Behavior

-

How to reproduce:
1. Open the attached “IN-96254_BehaviorCrash.zip” project
2. Open the “BehaviorScene”
4. Enter Play Mode
5. Exit Play Mode
6. Open the Package Manager
7. Find the Behavior package and click “Remove” (don’t restart the Editor when prompted)
8. Install the “com.unity.muse.behavior” package by name
9. Enter Play Mode
10. Observe the crash

Reproducible in: 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Could not test with: 2022.3.60f1 (Behavior package is not supported)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

First few lines of stacktrace:

{noformat}0x00007FF8B9BCF631 (Unity) SerializableManagedRefBackupGenerator::ExtractBackupFromInstance
0x00007FF8B9BCC4FE (Unity) MonoBehaviour::BackupAndDeflateManagedReferences
0x00007FF8B9C8BE90 (Unity) SerializableManagedRefsUtilities::BackupAndDeflateAll
0x00007FF8B9BCC977 (Unity) MonoManager::BeginReloadAssembly
0x00007FF8B9BD5FE5 (Unity) MonoManager::ReloadAssembly{noformat}

Note: All Editor version were tested with Behavior v1.0.8 and Muse Behavior v0.11.0

  1. Resolution Note:

    Thanks for reaching out. The supported version is com.unity.behavior, not com.unity.muse.behavior, which was an experimental package and is no longer supported. There shouldn't be any nodes that exist in com.unity.muse.behavior and are missing in com.unity.behavior, please reach out in the forum if you need any help with your specific use case: https://discussions.unity.com/tag/behavior

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.