SoundUtils.applyPropertiesFromId sets SoundId value twice if given a table.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
SoundUtils.applyPropertiesFromIdを見つけ、issueで説明されているテーブルの処理を追ってください。SoundUtils.playFromIdとLoopedSoundPlayerに関連するテストや例を確認し、Roblox Studioで数値のSoundIdを使って再現してください。変換後のアセットIDが代入される値となり、エラーが発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
If SoundUtils.applyPropertiesFromId is given a table, it converts the table's SoundId value to a rbxassetid and sets the Sound's SoundId property to that, then sets it again using the original, unconverted value. If the original value was a number, this results in an error.
To Reproduce
Steps to reproduce the behavior:
- Create a script that creates and plays sound with SoundUtils, passing a table as an argument. Make sure the table's SoundId value is a number.
SoundUtils.playFromIdandLoopedSoundPlayerboth work for this. - Test in Studio
- See error in output and Sound instance with a number in the SoundId property.
Expected behavior
The SoundId should use the converted value.
- 主要言語
- Lua
- スター
- 632
- フォーク
- 148
- 平均マージ
- 15時間 41分
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Quenty/NevermoreEngine のほかの issue
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
Quenty/NevermoreEngine#670 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
Quenty/NevermoreEngine#583 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Quenty/NevermoreEngine#507 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
Quenty/NevermoreEngine#471 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Implement Deferred/Adapted Signal using Lua再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
Quenty/NevermoreEngine#463 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Quenty/NevermoreEngine の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
fitzforge/polestar#1825 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Data Correction Forever
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
obsidian-nvim/obsidian.nvim#1027 ·
メンテナーはふだん 1 日以内に返信
-
area: top panel enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
AndyHazz/bookshelf.koplugin#599 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100