diff --git a/mac.md b/mac.md index f15b950..dd420dd 100644 --- a/mac.md +++ b/mac.md @@ -9,63 +9,43 @@ macでbuildするために推奨されているスペックは`m3+`です。`nan - metal v2.4 - nanite -## pkg - -- https://github.com/Homebrew/brew - ```sh +# https://github.com/Homebrew/brew $ brew install zsh git tmux vim ``` -## buildが通り、描写も問題なし +## mac固有の問題 -> Config/DefaultEngine.ini +### WorldScape Pluginは動かない、画面が黒くなる原因 -```sh -[/Script/MacTargetPlatform.MacTargetSettings] --TargetedRHIs=SF_METAL_SM6 -+TargetedRHIs=SF_METAL_SM5 -EditorTargetArchitecture=MacTargetArchitectureAppleSilicon -TargetArchitecture=MacTargetArchitectureAppleSilicon -EditorDefaultArchitecture=MacTargetArchitectureHost -DefaultArchitecture=MacTargetArchitectureHost -bBuildAllSupportedOnBuildMachine=True -MetalLanguageVersion=7 -UseFastIntrinsics=False -EnableMathOptimisations=True -AudioSampleRate=48000 -AudioCallbackBufferFrameSize=1024 -AudioNumBuffersToEnqueue=1 -AudioMaxChannels=0 -AudioNumSourceWorkers=4 -SpatializationPlugin= -SourceDataOverridePlugin= -ReverbPlugin= -OcclusionPlugin= -SoundCueCookQualityIndex=-1 +WorldScapeはmacでは動きません。pluginを`false`にします。また、以下の設定で画面やモデルが黒くなる問題が発生。 + +> Airse.uproject + +```json + { + "Name": "WorldScape", + "Enabled": true, + "PlatformAllowList": [ + "Win64" + ], + "MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/1325c95bf60546738a5bb21e2262914d" + } ``` -## xcode固有の情報 +> ./Config/DefaultDeviceProfiles.ini ```sh -[/Script/MacTargetPlatform.XcodeProjectSettings] -CodeSigningTeam=xxx -bUseModernXcode=true -bUseAutomaticCodeSigning=true -BundleIdentifier=ai.syui.rse +[Windows DeviceProfile] +DeviceType=Windows ++CVars=r.VelocityOutputPass=1 + +[Mac DeviceProfile] +DeviceType=Mac ``` -```sh -[/Script/IOSRuntimeSettings.IOSRuntimeSettings] -BundleDisplayName=Airse -BundleIdentifier=ai.syui.rse -IOSTeamID=xxx -BundleName=ai.syui.rse -MetalLanguageVersion=9 -MinimumiOSVersion=IOS_17 -bAutomaticSigning=True -RemoteNotificationsSupported=False -bSupportsPortraitOrientation=True -bSupportsLandscapeLeftOrientation=False -bSupportsLandscapeRightOrientation=False -``` +### SoStylizedのmapが原因でcrash + +`/Game/SoStylized/Maps/CompleteVol1/Demonstration_Vol1`にある`InstancedFoliageActor`が原因です。 + +`フォリッジインスタンス化スタティックメッシュコンポーネント`をすべて選択して、`World Position Offset Writes Velocity`を`false`に変更すると解決。 \ No newline at end of file