How can I make a Effect Asset for crafting sound?

image
Help.I tested many times then I found that the problem was caused by unity asset instead dat file.
I bundle a asset like the image,but it did not work perfectly.

To clarify - what does your .dat file look like? Would you mind sharing the .dat file for the effect, and the .dat file for any of the items trying to use this effect/sound?

All asset use unity3d XD

Item>>> Blueprint_#_Build 42480

GUID ef62a77fc0744b1cb6cb3b67782bb430
Type Melee
Rarity Uncommon
Useable Melee
Slot Any

ID 40068

Size_X 1
Size_Y 2
Size_Z 0.5

Blueprints 2

//Recipe Repair

Blueprint_0_Type Repair


///Effect / Crafting Sound
Blueprint_0_Build 42480
///Effect / Crafting Sound


Blueprint_0_Supplies 1
Blueprint_0_Supply_0_ID 40008
Blueprint_0_Supply_0_Amount 2

Blueprint_0_Products 1
Blueprint_0_Product 40068

//Recipe Salvage 

Blueprint_1_Type Tool


//Effect / Crafting Sound
Blueprint_1_Build 42480
//Effect / Crafting Sound


Blueprint_1_Supplies 1
Blueprint_1_Supply_0_ID 40068
Blueprint_1_Supply_0_Amount 1

Blueprint_1_Outputs 2
Blueprint_1_Output_0_ID 40008
Blueprint_1_Output_0_Amount 1
Blueprint_1_Output_1_ID 40030
Blueprint_1_Output_1_Amount 1

Actions 2

//Repair

Action_0_Type Blueprint
Action_0_Blueprints 1
Action_0_Blueprint_0_Link
Action_0_Blueprint_0_Index 0

Action_0_Source 40068

Action_0_Tex Repair âśš Require 2 Scrap Metals
Action_0_Tooltip Repair âśš Require 2 Scrap Metals.

//Salvage

Action_1_Type Blueprint
Action_1_Blueprints 1
Action_1_Blueprint_0_Link
Action_1_Blueprint_0_Index 1

Action_1_Source 40068

Action_1_Text Salvage â—† Scrap Metal and etc 
Action_1_Tooltip Salvage â—† Scrap Metal and etc.

Range 1.5
Strength 1.5
Weak 0.37
Strong 0.37
Stamina 10

Player_Damage 25
Player_Leg_Multiplier 0.6
Player_Arm_Multiplier 0.6
Player_Spine_Multiplier 0.8
Player_Skull_Multiplier 1.1

Zombie_Damage 25
Zombie_Leg_Multiplier 0.3
Zombie_Arm_Multiplier 0.3
Zombie_Spine_Multiplier 0.6
Zombie_Skull_Multiplier 1.1

Animal_Damage 25
Animal_Leg_Multiplier 0.3
Animal_Spine_Multiplier 0.6
Animal_Skull_Multiplier 1.1

Barricade_Damage 2
Structure_Damage 2
Vehicle_Damage 15
Resource_Damage 25
Object_Damage 15

Durability 0.2

Exclude_From_Master_Bundle

Use_Auto_Icon_Measurements False

Effect>>> ID 42480

GUID 6b99903a3f024991bc04704e3f59ab21
Type Effect
ID 42480

Exclude_From_Master_Bundle
1 Like

Do you have any errors showing up in your Client.log file or the “Error Logs” section of the main menu?

To clarify - does your Item work when using vanilla sound effects for that blueprint action?

1 : nothing

2 : Effect 27,it works properly.

so weird

Hi gloa233,

It sounds like you’re having some trouble with a Unity asset not working as expected for crafting sounds. I can definitely help you troubleshoot this.

Since the issue seems to be with the asset itself, here are a few things to check:

  • Import Settings: Double-check the import settings for your asset. Make sure it’s being imported as an Audio asset and that the properties like sample rate and bit depth are compatible with your project.
  • Asset Configuration: If the asset is a prefab or a custom script, there might be some configuration required to get it working correctly for crafting sounds. Refer to the asset documentation or contact the asset creator for specific instructions.
  • Script Errors: If the asset uses scripts, check the Unity console for any errors that might be preventing it from functioning properly.

If you’ve already checked these and are still having trouble, providing more details about the specific asset and the behavior you’re encountering would be helpful for further troubleshooting.

Feel free to share more information about the issue, and I’ll do my best to assist you further.

I found out.
If I turn off
image
Effect would not play AudioClip

1 Like

Unity 2021 3 29 f1c1

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.