DynamicField.GetField()での処理について

This is a forum for requesting Arbor developers.
The items required for the request are as follows.
  • What are you trying to do with Arbor?
  • Specifically, where are you inconvenient and in trouble?
  • What should I do to improve?
Attention point:
  • We can not answer requests that do not know the detailed situation.
  • We can not answer your request for specific problems in the specification of your project.
  • We can not answer your request on Unity's specification issues.
  • We do not guarantee the implementation of your request.

ここは、Arbor開発者への要望を行うためのフォーラムです。
要望に必要な項目は以下の通りです。
  • Arborを使って何をしようとしているか。
  • 具体的にどこが不便で困っているか。
  • 改善するにはどうすればよいか。
注意点:
  • 詳しい状況がわからない要望については答えられません。
  • ユーザー様のプロジェクトの仕様上の固有の問題に対する要望については答えられません。
  • Unityの仕様上の問題に対する要望には答えられません。
  • 要望の実装を必ずお約束するものではございません。

Forum rules
The items required for the request are as follows.
  • What are you trying to do with Arbor?
  • Specifically, where are you inconvenient and in trouble?
  • What should I do to improve?
Attention point:
  • We can not answer requests that do not know the detailed situation.
  • We can not answer your request for specific problems in the specification of your project.
  • We can not answer your request on Unity's specification issues.
  • We do not guarantee the implementation of your request.

要望に必要な項目は以下の通りです。
  • Arborを使って何をしようとしているか。
  • 具体的にどこが不便で困っているか。
  • 改善するにはどうすればよいか。
注意点:
  • 詳しい状況がわからない要望については答えられません。
  • ユーザー様のプロジェクトの仕様上の固有の問題に対する要望については答えられません。
  • Unityの仕様上の問題に対する要望には答えられません。
  • 要望の実装を必ずお約束するものではございません。
kag
Posts: 35
Joined: 2017/05/19 08:28

DynamicField.GetField()での処理について

Post by kag »

Arbor: 3.4.2

いつもお世話になっております。

DynamicField.GetField()で、throw new System.NotSupportedException(); でdynamicFieldを生成する処理に流していますが、
Xcodeで例外をすべてトラップしてデバッグするときに必ずブレークしてしまうため、
throwせずに処理するように変えていただけませんでしょうか。

よろしくお願いします。
User avatar
caitsithware
管理人
Posts: 493
Joined: 2015/08/17 12:41

Re: DynamicField.GetField()での処理について

Post by caitsithware »

ご要望ありがとうございます。
kag wrote: 2019/01/10 02:44 DynamicField.GetField()で、throw new System.NotSupportedException(); でdynamicFieldを生成する処理に流していますが、
該当の箇所は例外を投げる必要性がないところでしたね。
次のバージョンにて変更いたします。

それまでの間は以下のように暫定対応してください。
  • Assets/Plugins/Arbor/Internal/Scripts/DynamicReflection/DynamicField.csをコードエディタで開く。
  • 108行目を以下のように変更。(throwは削除)

    Code: Select all

    dynamicField = new DefaultField();
    dynamicField.Create(fieldInfo);
    
  • Assets/Plugins/Arbor/Internal/Scripts/DynamicReflection/DynamicMethod.csをコードエディタで開く。
  • 95行目を以下のように変更。(throwは削除)

    Code: Select all

    dynamicMethod = new DefaultMethod();
    dynamicMethod.Create(methodInfo);
    
Post Reply