stride3d / stride3d/stride

One Of Two Errors when duplicating an Entity in the Stride Editor

Open
#2,090 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release

Version: 4.2.0.2043

Platform(s): Windows

Describe the bug
Duplicating a specific entity inside the editor causes the editor to crash with one of the following errors:

[asset] could not be found. Asset path should be 'MyFolder/MyAssetName'. Check that the path is correct and that the asset has been included into the build.

The asset [Asset] is missing or incorrectly indexed in the package. Please report this issue.

To Reproduce
Steps to reproduce the behavior:

  1. Create a local version of the following project: https://github.com/bombtree/PathWithSteer
  2. Open PathWithSteer.sln in the Stride editor
  3. Highlight the "NPC" entity in the root of MainScene.sdscene
  4. Press ctrl+D to duplicate the entity
  5. Observe a crash

Expected behavior
Editor does not crash when duplicating an Entity.

Screenshots
image

Log and callstacks
error1.txt
error2.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open PathWithSteer.sln in the Stride editor and reproduce the crash by duplicating the NPC entity in MainScene.sdscene with Ctrl+D. Then inspect error1.txt and error2.txt for the reported asset and package-indexing failures. Done means duplicating the entity no longer crashes the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.